how to sort two dimensional array by java

前端 未结 0 1363
时光说笑
时光说笑 2020-12-20 09:06

I wanna use a basic way,i mean there\'s no api virtually

Sort by row first and then by column;

the input :

{{4,2},{1,7},{1,2},{1,1},{4,1}}

the ou

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