+ 2

Anyone: How do I show the length of multidimensional arrays, so that it also shows whats in the other curved parenthese?

https://code.sololearn.com/c5cghran0cHV/?ref=app

11th Sep 2017, 7:53 PM
coder_extends_human
coder_extends_human - avatar
2 Answers
+ 6
array1[0].length // length of 1st 'inner' array array1[1].length // length of 2nd 'inner' array Array[2].length // length of 3rd 'inner' array array1.length // length of 'outer' array
11th Sep 2017, 7:57 PM
Rrestoring faith
Rrestoring faith - avatar
+ 1
thx
12th Sep 2017, 12:52 PM
coder_extends_human
coder_extends_human - avatar