Create a program to check if two hardcoded strings are rotations of each other.
MediumProblem Statement
Create a program to check if two hardcoded strings are rotations of each other.
Sample Input
String 1: "abcd", String 2: "dabc"
Sample Output
Are Rotations: True
Limits
Time: 2s · Memory: 256 MB