Swap dimensional array first row with last

后端 未结 0 1803
悲&欢浪女
悲&欢浪女 2021-01-31 03:18

If I have

1 2 4 6
3 4 8 2
3 8 9 1

I need to swap first and last row to make it look like:

3 8 9 1
3 4 8 2
1 2 4 6

相关标签:
回答
  • 消灭零回复
提交回复
热议问题