โ† Nagarro questions

Count words remaining same after left rotation

Filed under Nagarro

Given a space-separated string of words and an integer k, count how many words in the sentence remain identical after performing a left circular rotation of k positions on each individual word.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Nagarro questions

Collected from public candidate posts and coding forums. Updated Nov 2026.