CareerBuilder Interview Question

Write a method that checks for cycles in a doubly linked list.