added back to top and fixed some c code in functions list in readme

This commit is contained in:
Andrew Lalis 2017-05-23 11:15:42 +02:00
parent 2a1503ef41
commit 2787de465b
1 changed files with 13 additions and 5 deletions

View File

@ -11,11 +11,11 @@ A handy collection of C algorithms compiled into one header file for use anywher
### Functions
```c
void new()
void free(Stack *s)
void push(item, Stack *s)
item pop(Stack *s)
void print(Stack s)
void new();
void free(Stack *s);
void push(item, Stack *s);
item pop(Stack *s);
void print(Stack s);
```
### Description
@ -45,8 +45,16 @@ Notice that the function names are characteristic of the **STACK_TYPE** you've d
``` FUNCTION_ + STACK_TYPE + _stack ```
Where `FUNCTION` is the name of the function.
[Back to Top](#table-of-contents)
## Queue
[Back to Top](#table-of-contents)
## Linked List
[Back to Top](#table-of-contents)
## Heap (Priority Queue)
[Back to Top](#table-of-contents)