Converting 1d array to 2d array by ascending order of numbers

后端 未结 0 1312
野性不改
野性不改 2020-12-14 09:13

I want to create a 2D array such that value of matrix position [m,n is decided by the numbers in arr1.

For example. if the numbers

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