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 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
Get step-by-step solutions from verified subject matter experts
