Pergunta de entrevista da empresa Dailyhunt

How to detect and remove loop in a linked list