11
This is not a duplicate of this challenge.
Here by an array, I mean a nested list that is "not ragged", i.e., it is either a list of elements, or a list of arrays of the same shape. For example, this is an array of shape (2,3):
[[1, 2, 3], [4, 5, 6]]
The depth (or rank) of an array is the length...