Pergunta de entrevista da empresa Nagarro

Coding question- 1) rotate array n times 2) linked list cycle detection