← Nagarro questions
CodingMediumReported in a candidate post, Feb 2021

Count words unchanged after rotation

Filed under Nagarro

Given a sentence and an integer k specifying how many positions each word has been rotated from left to right, count the number of words that remain identical to their original pre-rotation form.

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.