Skip to content
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

Open
DivyanshShukla123 opened this issue Oct 16, 2024 · 3 comments
Open

Problem - String rotated by two places #2780

DivyanshShukla123 opened this issue Oct 16, 2024 · 3 comments

Comments

@DivyanshShukla123
Copy link

DivyanshShukla123 commented Oct 16, 2024

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.

@aryansoni13
Copy link

Hey @DivyanshShukla123 I'm interested in this task, please assign me the task..

@diwakarjhadj
Copy link

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.

@Shaluag123
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants