DHEERAJHARODE / Hacktoberfest2024-Open-source-

Send your valuable codes here
MIT License
485 stars 4k forks source link

Problem - String rotated by two places #2780

Open DivyanshShukla123 opened 1 month ago

DivyanshShukla123 commented 1 month ago

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 commented 1 month ago

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

diwakarjhadj commented 1 month ago

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 commented 1 month ago

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