Pergunta de entrevista da empresa CareerBuilder

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