You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: