Qualcomm interview question

Linked List Loop identification problem