Pergunta de entrevista da empresa Infineon Technologies

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