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

Count of rotation in a sorted array #1033

Open
alkatrivedi opened this issue Mar 15, 2021 · 7 comments · Fixed by #1811
Open

Count of rotation in a sorted array #1033

alkatrivedi opened this issue Mar 15, 2021 · 7 comments · Fixed by #1811
Assignees
Labels
array cpp cpp code gssoc21 Girlscript summer of code 2021 Level0 easy python python code searching

Comments

@alkatrivedi
Copy link

In this, we are given a sorted array of n elements which has been rotated clockwise k number of times. Here we will output the number of times the given array has been rotated i.e., k.

Example -
Input:
n = 6
a[] = {6, 5, 4, 1, 2, 3}
Output: 3
Explanation: Since the sorted array is rotated 3 times.

I am a participant in GSSoC 2021. Can I work on this issue under GSSoC 2021? I would like to add the solution to this problem in c++.

@ANSHIKA1806
Copy link

I'm a GSSOC'21 participant and I would like to work on this issue.
I will write clean code and use proper comments.
Thank you.

@alkatrivedi
Copy link
Author

@rudrakshi99 Kindly assign me this issue.

@OjusWiZard OjusWiZard added array cpp cpp code gssoc21 Girlscript summer of code 2021 Level0 easy searching labels Apr 3, 2021
@naqeeb2710
Copy link

Hey, Can you assign me this issue as no one is working on it.

@Rohan27s
Copy link
Collaborator

Hey @alkatrivedi kindly follow the guidelines #1153

@Srishti013
Copy link
Contributor

Srishti013 commented Apr 26, 2021

Hi,
I am GSSOC'21 participant. I want to solve this issue in Python. Please assign this to me.

@Srishti013
Copy link
Contributor

@Rohan27s please review my pr

Rohan27s added a commit that referenced this issue May 6, 2021
Counting rotations in a sorted array---> fixes[#1033]
@Rohan27s Rohan27s linked a pull request May 6, 2021 that will close this issue
@Palakgupta0908
Copy link

I would like to contribute to the above code in java. Kindly assign this to me. Thanks.

@alkatrivedi alkatrivedi removed their assignment Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
array cpp cpp code gssoc21 Girlscript summer of code 2021 Level0 easy python python code searching
Projects
None yet
7 participants