Domanda di colloquio di Akamai

Detect a loopbin link list

Risposta di colloquio

Anonimo

17 gen 2017

Use two pointers travelling with different speed (one is twice as fast as other) If they both meet the loop exist otherwise their is no loop.