Java icon indicating copy to clipboard operation
Java copied to clipboard

[FEATURE REQUEST] Array Right Rotation

Open rishav2803 opened this issue 2 years ago • 6 comments

What would you like to Propose?

I would to like add the implementation of Array Right Rotation under the "others" cateogry

Issue details

Problem statement :

Given an array, rotate the array to the right by k steps, where k is non-negative Eg: Input: [1,2,3,4,5,6,7] and k = 3 Output: [5,6,7,1,2,3,4] Explanation: rotate 1 steps to the right: [7,1,2,3,4,5,6] rotate 2 steps to the right: [6,7,1,2,3,4,5] rotate 3 steps to the right: [5,6,7,1,2,3,4]

Additional Information

No response

rishav2803 avatar Oct 04 '23 15:10 rishav2803

I want to complete this. Please assign it to me.

mukul018 avatar Oct 09 '23 11:10 mukul018

Can you assign me this issue ??

Tanishaclippy avatar Oct 14 '23 15:10 Tanishaclippy

@rishav2803 I will assign @ppiippoo to this issue since I could not find your PR.

vil02 avatar Oct 22 '23 11:10 vil02

@rishav2803 I will assign @ppiippoo to this issue since I could not find your PR. Should I raise one?

rishav2803 avatar Oct 22 '23 11:10 rishav2803

@ppiippoo will you update your PR #4682? Or can @rishav2803 create a new one? Obviously we can only merge one.

vil02 avatar Oct 22 '23 11:10 vil02

I think I have the optimal solution for this issue. I'm new to this open source contribution, if this is not the optimal way of asking please do point me and tell me the right way to do so.

NagaSreeram avatar Dec 13 '23 16:12 NagaSreeram

#4682

BamaCharanChhandogi avatar Jan 12 '24 03:01 BamaCharanChhandogi

The issue has been solved!!

SarthakChaudhary46 avatar Jan 22 '24 08:01 SarthakChaudhary46