Yahoo interview question

Problems like detecting cycle in a linked list