solulubeta
Sign in
DSA Basics / Building up
02.34 · Problem

Did Someone Rotate the Password

Medium Rotation check by doubling Pro

This problem is part of solulu Pro

A door lock takes a password written on a ring, so the same password can be read starting from any letter: abcde can also be typed as cdeab. Security wants to know whether a typed password is just the real one started at…

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 64 of 90 · updated 2026-10-12