Nagarro interview question

Linked list cycle, string permutations