Magnitude Capital interview question

Finding cycle in a liked-list