Question: CS 2413 LAB -2 Linked List 1. file linkedlist.cpp that include the linkedlist.h and defines all the member functions. You may use the following code

 CS 2413 LAB -2 Linked List 1. file linkedlist.cpp that include

CS 2413 LAB -2 Linked List 1. file linkedlist.cpp that include the linkedlist.h and defines all the member functions. You may use the following code snippet to get started. Your program should define a separate main class called LinkedListTest.cpp to test each of the insert, deletion and search functions. Submit a Word or a PDF file with your code and output screenshots. Use appropriate comments wherever necessary 10 points] //linkedlist.h class Node public: int info; Node* next; class LinkedList public Node* head, *tail; LinkedList( //initialize head and tail to O or NULL LinkedList(); void insertAtHead(int value); void insertAtTail(int value); // Print the info value before deletion of the node void deleteAtHead(). void deleteAtTail(); void search(int value); void displayList()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!