Domanda di colloquio di Qualcomm

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

Risposte di colloquio

Anonimo

22 mag 2020

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

Anonimo

18 feb 2021

store every node in a hashmap and check