This repository have a few codes made in ANSI C with implementation of lists subclass:
queue
stack
deque
The implementation was divided in "static" and "dynamic"; the static implementation uses just vectors and dynamic use linkeds lists.
Clone this repository and after it, open a terminal session on the working directory, use make and execute the program you wish:
make
After the compiling, all the binaries will be are on the build
folder.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Race, life’s a race And I’m gonna win Yes, I’m gonna win I’ll light the fuse and I’ll never lose
And I choose to survive, whatever it takes You won’t pull ahead I’ll keep up the pace I’ll reveal my strength to the whole human race
Yes, I am prepared to stay alive And I won’t forgive, vengeance is mine And I won’t give in, because I choose to thrive Yes, I'm gonna win.
Race, it’s a race And I’m gonna win Yes, I’m gonna win I’ll light the fuse and I’ll never lose
And I choose to survive, whatever it takes You won’t pull ahead ’cause I’ll keep up the pace I’ll reveal my strength to the whole human race Yes, I'm gonna win.
- Me (Manoel Vilela)
- Rafael C. Nunes (guest)
- Fabrício Werneck (guest)
GPLv3
- make an abstract type
- auxiliar functions for static and dynamic lists
- RandomList
- Erase (any element)
- ClearList
- queue
- static
- push
- pop
- search
- edit
- dynamic
- push
- pop
- search
- edit
- static
- stack
- static
- push
- pop
- search
- edit
- dynamic
- push
- pop
- search
- edit
- static
- deque
- static
- push
- push_left
- push_right
- pop
- pop_left
- pop_right
- search
- edit
- push
- dynamic
- push
- push_left
- push_right
- pop
- pop_left
- pop_right
- search
- edit
- push
- static