-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem - String rotated by two places #2780
Comments
Hey @DivyanshShukla123 I'm interested in this task, please assign me the task.. |
Hey @DivyanshShukla123 I'm interested in this task, please assign me the task. And I am also contribute the same Task in GeeksforGeeks that's why I am do better know about it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
String Rotated by 2 Places
Given two strings a and b. The task is to find if the string 'b' can be obtained by rotating (in any direction) string 'a' by exactly 2 places.
Input:
a = amazon
b = azonam
Output:
1
Explanation:
amazon can be rotated anti-clockwise by two places, which will make it as azonam.
The text was updated successfully, but these errors were encountered: