TheAlgorithms / Solidity

Algorithms and data structures implemented in Solidity
GNU Lesser General Public License v2.1
332 stars 95 forks source link

[ALGO] Left Rotation of an Array by k times. #60

Open 0xSumitBanik opened 2 years ago

0xSumitBanik commented 2 years ago

This PR provides the addition of an algorithm which performs left rotation of an array by k times.

Corresponding Issue: #59

0xSumitBanik commented 2 years ago

@mkubdev , Is this PR and #59 needs to be closed following the #61 issue?

mkubdev commented 1 year ago

@mkubdev , Is this PR and #59 needs to be closed following the #61 issue?

Still in discussion. Is this a snippet you use in realworld context?