Pergunta de entrevista da empresa Marvell Technology

Algorithm to find loop in a linked list?

Resposta da entrevista

Sigiloso

1 de abr. de 2021

Two pointer approach one pointer increments by one position while other by two positions, if they meet then loop otherwise not.