hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following statements is not true about the doubly linked list?
    Question



    Which of the following statements is not true about the doubly linked list?

    A.

    We can traverse in both the directions.

    B.

    It requires extra space.

    C.

    Implementation of doubly linked list is easier than the singly linked list.

    D.

    More than one of the above

    E.

    None of the above

    Correct option is C


    A doubly linked list (DLL) is a linked list in which each node contains pointers to both its previous and next nodes, allowing traversal in both directions. While DLLs have advantages, their implementation is more complex than a singly linked list (SLL) due to extra pointers and additional memory management.
    Important Key Points:
    1. Implementing a doubly linked list is harder than a singly linked list because:
    · Each node needs two pointers (one for the previous node, one for the next).
    · Insertion and deletion require more pointer adjustments.
    · Memory overhead is higher compared to SLL.
    2. (a) We can traverse in both directions → ✅ True: DLLs allow traversal forward and backward using both next and prev pointers.
    · (b) It requires extra space → ✅ True: Each node in a DLL stores an additional pointer (prev), requiring extra memory compared to a singly linked list.
    Knowledge Booster:
    · Doubly linked lists are useful in applications requiring bidirectional traversal, such as undo-redo operations, navigation systems, and memory management.
    · Circular doubly linked lists connect the last node to the first, forming a closed loop.
    · Although DLLs require more space, they provide efficient deletion and insertion at both ends.

    Free Tests

    Free
    Must Attempt

    DSSSB TGT Social Science 2024 Mock 01

    languageIcon English
    • pdpQsnIcon200 Questions
    • pdpsheetsIcon200 Marks
    • timerIcon120 Mins
    languageIcon English
    Free
    Must Attempt

    Reasoning Ability : Subject Test - 01

    languageIcon English
    • pdpQsnIcon20 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English
    Free
    Must Attempt

    UP LT Grade - Social Science PYP Held on 24 June 2018

    languageIcon English
    • pdpQsnIcon270 Questions
    • pdpsheetsIcon300 Marks
    • timerIcon120 Mins
    languageIcon English
    test-prime-package

    Access ‘BPSC TRE (11-12)’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    253k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow