Skip to content

programVeins/singly-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

List ADT - Singly Linked List in C language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors