Applied Materials Interview Question

2. Write code to check if a linked list is circular.