Question: 5. What is the condition on head and tail node pointers of a Singly List data structure when the list is empty? 6. Define the

 5. What is the condition on head and tail node pointers

5. What is the condition on head and tail node pointers of a Singly List data structure when the list is empty? 6. Define the destructor for SLList class as shown in the Figure 3. 7. Define initList member function of the SLList class as declared in the Figure 3. The function initializes the list to the default state - head and node at NULL 8. Define isEmpty member function of the SLList class as declared in the Figure - 3. The function checks if the list is empty or not. If the list is empty, the function returns true else false

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!