Qualcomm Interview Question

Linked List Loop identification problem