Data Structure Example 1.012 GATE CS 2004 (Queue and circular linked list)

preview_player
Показать описание
Data Structure problem asked in GATE CS 2004 (Queue and circular linked list)
Рекомендации по теме
Комментарии
Автор

either the qn is constructed wrong or the diagram is wrong. point to the node before the rear node in the diagram and you can both en/dequeue in o(1). hence, the answer (c) is misleading and wrong.

daspradeep
Автор

why you insert at behind the rear, , you should insert after rear and make the node to rear

abdurramijraj
Автор

incorrect explanation at 3:10..plzz correct

principaljjcamp
Автор

Wrong answer it it p points to rear ie A)

swadhindas
join shbcf.ru