The document contains a C++ implementation of a singly linked list (SLL) with various operations such as insertion and deletion at both ends, as well as displaying the list contents. It defines a 'node' structure and a class 'sll' that provides methods for managing the linked list. The main function allows user interaction to perform these operations in a loop until the user chooses to quit.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
10 views3 pages
Single Linked List
The document contains a C++ implementation of a singly linked list (SLL) with various operations such as insertion and deletion at both ends, as well as displaying the list contents. It defines a 'node' structure and a class 'sll' that provides methods for managing the linked list. The main function allows user interaction to perform these operations in a loop until the user chooses to quit.