Algorithms/README.md

19 lines
588 B
Markdown
Raw Normal View History

2017-05-22 12:13:50 +00:00
# Algorithms
A handy collection of C algorithms compiled into one header file for use anywhere. Feel free to include this file with any C project, as long as you keep the comment at the top with a little copyright notice.
## Functionality
### Stack
2017-05-22 13:30:13 +00:00
The stack is probably the most basic storage structure, using the 'first-in, first-out' approach.
2017-05-22 13:34:36 +00:00
* ```c Stack createStack()```
* ```c void freeStack(Stack *s)```
* ```c void pushToStack(int item, Stack *s)```
* ```c int popFromStack(Stack *s)```
* ```c void printStack(Stack s)```
### Queue
### Linked List
### Heap (Priority Queue)