In a singly linked list, the time taken to insert an element at an arbitrary…
PYQ CoCubes 2024
In a singly linked list, the time taken to insert an element at an arbitrary position — where the position is not known in advance and must be located by traversal — is:
- A.
O(n)
- B.
O(1)
- C.
O(n log n)
- D.
O(n2)
Attempted by 807 students.
Sign up free to check your answer
Sign up freeLoading lesson…

