DHEERAJHARODE/Hacktoberfest2024-Open-source-

Problem - String rotated by two places

Opened this issue · 3 comments

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.

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.

can you assign this issue to me i would like to contribute into it.