Rotate String Check
Print YES if goal can be obtained by shifting s left by some number of positions, otherwise NO.
Constraints
1 <= |s|, |goal| <= 100
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.