From 2787de465b3260da3d0dc057428f15b5b853fd19 Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Tue, 23 May 2017 11:15:42 +0200 Subject: [PATCH] added back to top and fixed some c code in functions list in readme --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7bfa022..a285e5d 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file