← LendingKart questions

Check if a string can be obtained by rotating another string 2 places

Filed under LendingKart

The question

Check if a given string can be produced by rotating another string by exactly two places in either clockwise or counter-clockwise direction.

No write-up yet. Related questions below have one.

Related LendingKart questions

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