Quiz

It's quiz time! Test yourself by solving these questions about circular linked lists.

1

Given that you have access to the head node of a circular linked list containing nn elements, what is the time complexity to search for an element?

A)

O(1)O(1)

B)

O(logn)O(log n)

C)

O(n)O(n)

D)

O(n2)O(n^2)

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.