recategorized by
515 views

1 Answer

Best answer
6 votes
6 votes

Answer is Linked List.

1) For the stack you need Push and Pop to put an element in sorted order.

2) For the Queue you need insert and delete to put an element in sorted order.

4) In the array you may have to move the data, and it will get worst if the array is full then you have to create another array of bigger size and then copy that data.

But In 

3) Linked List you just have to traverse the list by having the record of previous node. Nothing else. Hence. the answer. 

selected by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
Meenakshi Sharma asked Nov 21, 2018
1,238 views
what is the best algorithm to sort a list of more than 1 million items in an arraya)quicksort b) merge sort c)heap sort d) bubble sort
0 votes
0 votes
1 answer
3
Daniyal89 asked Sep 30, 2018
741 views
Ans given is option-B
0 votes
0 votes
0 answers
4
eyeamgj asked Sep 2, 2018
342 views
https://gateoverflow.in/20617/tifr2011-b-311+2(n-2) is correct ???i.e option d looks more correct....??