SLB Interview Question

dtect cycles in a linked list