Question: When inserting into an alphabetically sorted list: if the list is singly linked, we will need an extra trail pointer if the list is doubly
When inserting into an alphabetically sorted list:
| if the list is singly linked, we will need an extra "trail" pointer |
| if the list is doubly linked, we will need an extra "trail" pointer |
| we will never need the "trail" pointer |
| you cannot insert in singly linked list because it is not possible to traverse the list backwards |
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
