In a doubly linked list, which operation takes O(1) time ?

TPSC Computer/IT Posts 2026

In a doubly linked list, which operation takes O(1) time ?

  1. A.

    Searching for an element

  2. B.

    Deleting a node when pointer to it is given

  3. C.

    Finding the middle element

  4. D.

    Reversing the list

Attempted by 928 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…