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

Left Rotation #74

Open
abhay313 opened this issue Jan 17, 2021 · 1 comment
Open

Left Rotation #74

abhay313 opened this issue Jan 17, 2021 · 1 comment

Comments

@abhay313
Copy link

Problem description:
A left rotation operation on an array of size n shifts each of the array's elements 1 unit to the left. Given an integer, d, rotate the array that many steps left and return the result.

Input
5 4
1 2 3 4 5

Output
5 1 2 3 4

@abhay313
Copy link
Author

abhay313 commented Jan 17, 2021

I would like to implement it into C++, please assign this to me under SWoC.

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

1 participant