Question

    The time required to delete a node x from a doubly linked list having n nodes is

    A O (n) Correct Answer Incorrect Answer
    B O (log n) Correct Answer Incorrect Answer
    C O (1) Correct Answer Incorrect Answer
    D O (n log n) Correct Answer Incorrect Answer
    E None Correct Answer Incorrect Answer

    Solution

    The correct answer is C

    Practice Next