Pergunta de entrevista da empresa Mindfire Solutions

Describe the time complexity for a search operation performed on an array as well as a linked list.

Resposta da entrevista

Sigiloso

13 de jul. de 2016

In Array Random access is possible so Time Complexity is 0(1). And in Liked List Random access is not possible so Time complexity is 0(n).

1