Map array of ints to nested array access

前端 未结 2 1902
青春惊慌失措
青春惊慌失措 2021-01-15 00:09

Is there a way to dynamically access a nested array using indices which are themselves stored in an array?

The main array/matrix nesting could be variable e.g. 2, 4,

2条回答
提交回复
热议问题