HARMAN Interview Question

Question on circular linked list