For example, I have a matrix like this:
|1 2 3| |4 5 6| |7 8 9|
and I need to convert it to such a matrix:
|1 4 7| |2 5 8| |3 6 9|
What is the best and best way to achieve this?
javascript matrix swap multidimensional-array
Bakhtiyor Dec 20 2018-10-18 18:31
source share