Pergunta de entrevista da empresa Morgan Stanley

How to detect cycle in a linked-list. Prove the algo.