added back to top and fixed some c code in functions list in readme
This commit is contained in:
		
							parent
							
								
									2a1503ef41
								
							
						
					
					
						commit
						2787de465b
					
				
							
								
								
									
										18
									
								
								README.md
								
								
								
								
							
							
						
						
									
										18
									
								
								README.md
								
								
								
								
							| 
						 | 
					@ -11,11 +11,11 @@ A handy collection of C algorithms compiled into one header file for use anywher
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Functions
 | 
					### Functions
 | 
				
			||||||
```c
 | 
					```c
 | 
				
			||||||
void new()
 | 
					void new();
 | 
				
			||||||
void free(Stack *s)
 | 
					void free(Stack *s);
 | 
				
			||||||
void push(item, Stack *s)
 | 
					void push(item, Stack *s);
 | 
				
			||||||
item pop(Stack *s)
 | 
					item pop(Stack *s);
 | 
				
			||||||
void print(Stack s)
 | 
					void print(Stack s);
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Description
 | 
					### Description
 | 
				
			||||||
| 
						 | 
					@ -45,8 +45,16 @@ Notice that the function names are characteristic of the **STACK_TYPE** you've d
 | 
				
			||||||
``` FUNCTION_ + STACK_TYPE + _stack ```
 | 
					``` FUNCTION_ + STACK_TYPE + _stack ```
 | 
				
			||||||
Where `FUNCTION` is the name of the function.
 | 
					Where `FUNCTION` is the name of the function.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Back to Top](#table-of-contents)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Queue
 | 
					## Queue
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Back to Top](#table-of-contents)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Linked List
 | 
					## Linked List
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Back to Top](#table-of-contents)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Heap (Priority Queue)
 | 
					## Heap (Priority Queue)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Back to Top](#table-of-contents)
 | 
				
			||||||
		Loading…
	
		Reference in New Issue