Open ZHENGSY opened 5 years ago
Could you pls consider adding a new way to shift array? Like this Before shift: 1 4 7 2 5 8 3 6 9
after clockwise shift: 2 1 4 3 5 7 6 9 8
and anti-clockwise, something like that.
It seemed a little bit tedious, but quite useful to me.
Thank you for your code!
Could you pls consider adding a new way to shift array? Like this Before shift: 1 4 7 2 5 8 3 6 9
after clockwise shift: 2 1 4 3 5 7 6 9 8
and anti-clockwise, something like that.
It seemed a little bit tedious, but quite useful to me.
Thank you for your code!