Bloomberg Interview Question

Write a function to find out whether a linked list is cyclic