The time required to search an element in a linked list of length n is

PYQ Capgemini Hiring Assessment 2025

The time required to search an element in a linked list of length n is

  1. A.

    O (log n)

  2. B.

    O (n)

  3. C.

    O (1)

  4. D.

    O(n2)

Attempted by 957 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…