Single Linked List Operations

Click the below link to view the github repository.

Click here to download/view the files.

All the basic operations that can be performed in Single Linked List (C++) namely :

  1. Appending nodes in the end
  2. Appending nodes in the beginning
  3. Appending nodes in the middle
  4. Length of the Linked List
  5. Displaying the List
  6. Deleting Nodes in the list( Beginning, End and Middle)
  7. Deleting the whole list

Note: The above operation’s implementation is in file “linkedlist.cpp

  1. Swapping two adjacent nodes in a single linked list

Note: The above operation’s implementaion is in file “swaplist.cpp

  1. Reversing elements in the Single Linked List

Note: The above operation’s implementation is in file “reverselist.cpp

Click here to download/view the files.