https://github.com/programveins/doubly-linked-list
List ADT - Doubly linked list in C language
https://github.com/programveins/doubly-linked-list
Last synced: about 1 year ago
JSON representation
List ADT - Doubly linked list in C language
- Host: GitHub
- URL: https://github.com/programveins/doubly-linked-list
- Owner: programVeins
- Created: 2020-10-07T09:51:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-07T09:52:37.000Z (over 5 years ago)
- Last Synced: 2025-01-17T01:15:46.006Z (about 1 year ago)
- Language: C
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linked List (Doubly-linked)
### Files included
* main.c
* dlist.c
* dlist.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 dlist.c -o dlist` if you are using gcc compiler
Run with ./dlist
### 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 9 in the menu to quit the program. Press 7 at any point to view the linked list representation. The double arrows represent double-links between nodes and single arrows point to X represent NULL pointers.
### Functions implemented
* create()
* displayNode()
* deleteNode()
* insertBeginning()
* insertEnding()
* insertAfter()
* insertBefore()
* searchNode()