We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Data Structures
- Arrays
- Left Rotation
- Discussions
Left Rotation
Left Rotation
Sort by
recency
|
3540 Discussions
|
Please Login in order to post a comment
my python sollution
My solution in Python 3:
My solution in Python:
return (arr[d:]+arr[0:d])
JavaScript :