3.37 Suppose that a singly linked list is implemented with both a header and a tail node. Describe constant-time algorithms to a. Insert item x before position p (given by an iterator). b. Remove the item stored at position p (given by an iterator) | |
| View Solution | |
| << Back | |