+ 2

Multidimensional Arrays

How do multidimensional arrays function? I can imagine 1D,2D and 3D arrays,but how would you imagine a 10D array?

8th Mar 2018, 4:09 PM
Dino Coralic
Dino Coralic - avatar
3 Respostas
+ 6
I like imagining with spreadsheets. A single program gives 3 dimensions via 2 on a sheet and multiple tabs of those sheets. From there, the 4th is multiple programs. The fifth is a local network of computers. The rest would be bigger networks built on the smaller. Most people that have problems with it can't get pass 4 or 5. This image has helped them do so. Personally, I've never coded more than 5 and I can't even envision a problem that would need it.
8th Mar 2018, 5:16 PM
John Wells
John Wells - avatar
+ 13
10D array is array of 9D arrays [mine definition😅] //just like 2d array is array of 1d arrays //hope U are able to understand now
8th Mar 2018, 5:34 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 10
The same way... An array inside an array inside another array... 100x times °_° array[][][][][][][]…… plzno = new array[][][][][][]……;
8th Mar 2018, 4:18 PM
Valen.H. ~
Valen.H. ~ - avatar