Infineon Technologies Interview Question

How do you realise that a list is circular on not? Describe the algorithm