โ† Yatra.com questions

Check if a sample string is a rotation of a base string

Filed under Yatra.com

The question

Given a base string and a stream of sample strings, tell whether each sample is a rotation of the base.

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

Related Yatra.com questions

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