Design: write a few English sentences describing how you would change the Linked-Chain implementation of the List ADT to support removal of a node from the middle retaining order.
C++
If the length of the linked list is odd : Delete (( n+1)/2)th term of the linked list.
If the list is of even length: Delete the (n/2+1)th term of the liked list.
Get Answers For Free
Most questions answered within 1 hours.