Click here to download/view the files.
All the basic operations that can be performed in Single Linked List (C++) namely :
- Appending nodes in the end
- Appending nodes in the beginning
- Appending nodes in the middle
- Length of the Linked List
- Displaying the List
- Deleting Nodes in the list( Beginning, End and Middle)
- Deleting the whole list
Note: The above operation’s implementation is in file “linkedlist.cpp”
- Swapping two adjacent nodes in a single linked list
Note: The above operation’s implementaion is in file “swaplist.cpp”
- 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.