https://github.com/programveins/singly-linked-list
List ADT - Singly Linked List in C language
https://github.com/programveins/singly-linked-list
Last synced: 5 months ago
JSON representation
List ADT - Singly Linked List in C language
- Host: GitHub
- URL: https://github.com/programveins/singly-linked-list
- Owner: programVeins
- Created: 2020-10-07T09:44:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-07T09:49:52.000Z (over 5 years ago)
- Last Synced: 2025-07-25T18:13:30.405Z (8 months ago)
- Language: C
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linked List (Singly-linked)
### Files included
* main.c
* slist.c
* slist.h
* Makefile
### Compilation
If you are using UNIX/Linux, use `make` to compile and `make clean` to clean up after running the program.
Please use `gcc main.c slist.c -o slist` if you are using gcc compiler
Run with ./slist
### Program Menu
The program offers a context menu in the beginning. Press 1 to start a new linked list. Then use the other options to operate on it. Press 8 in the menu to quit the program. Press 6 at any point to view the linked list representation. The list is visually represented with a [H] denoting the Header/Head.
### Functions implemented
* create()
* displayNode()
* deleteNode()
* insertBeginning()
* insertEnding()
* insertAfter()
* searchNode()