0 votes 0 votes A linked list stores the numbers in sorted order. What will be the contents of a list after the following insert & delete operations are performed? insert(4) insert(2) insert(9) delete(2) insert(7) insert(5) delete(7) insert(72) $4$ $9$ $5$ $72$ $4$ $5$ $7$ $72$ $4$ $5$ $9$ $72$ $4$ $5$ $7$ $9$ GATE tbb-mockgate-3 data-structures linked-list + – Bikram asked Feb 9, 2017 • retagged Sep 15, 2020 by ajaysoni1924 Bikram 274 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 0 votes 0 votes It is Linked List operation Linked list insert(4) 4 insert(2) 2-->4 insert(9) 2-->4-->9 delete(2) 4-->9 insert(7) 4-->7-->9 insert(5) 4-->5-->7-->9 delete(7) 4-->5--->9 insert(72) 4-->5--->9-->72 Which is option C . Bikram answered Mar 16, 2017 Bikram comment Share Follow See all 0 reply Please log in or register to add a comment.