Left rotation example:
[1,2] -> [2,4] -> [4,3]
[3,4] -> [1,3] -> [2,1]
Is there a built-in way to do this? if not, what's a simple alternative solution?
Left rotation example:
[1,2] -> [2,4] -> [4,3]
[3,4] -> [1,3] -> [2,1]
Is there a built-in way to do this? if not, what's a simple alternative solution?
Copyright © 2021 Jogjafile Inc.
That can be implemented as a reflection and a transpose, e.g.: