Pregunta de entrevista de Qualcomm

Develop an algorithm to detect a cycle in a Linked-List.

Respuestas de entrevistas

Anónimo

22 de may de 2020

I suggested Floyd's algorithm, which he accepted, but then he wanted another solution that could be less optimal.

Anónimo

18 de feb de 2021

store every node in a hashmap and check