Domanda di colloquio di Nagarro

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