SAP interview question

Find a circle in a linked list