How can i do a bubble metod in a bidimensional array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can i do a bubble metod in a bidimensional array?

Please, I need this for today I need help

4th Jul 2019, 11:31 PM
Edson Paredes Ramírez
Edson Paredes Ramírez - avatar
4 Answers
+ 8
You mean bubble sort a 2-dimensional array? How does your sorting sort the arrays I would like to ask.
4th Jul 2019, 11:32 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
One way maybe to sort the rows first and then the columns or vice versa.
5th Jul 2019, 2:17 AM
Sonic
Sonic - avatar
+ 2
Sorry, I dont speak english, I mean a multidimensional
4th Jul 2019, 11:38 PM
Edson Paredes Ramírez
Edson Paredes Ramírez - avatar
+ 2
Can you give me an example of your arrays, let say in 2D, then how do you want it to be?
5th Jul 2019, 1:56 AM
Alfa Yanuar Riansyah
Alfa Yanuar Riansyah - avatar