Traversing a list which consists of integers and inner lists in Java

前端 未结 0 985
情话喂你
情话喂你 2021-01-22 21:43

How to traverse a list which consists of integers and inner lists of different depths in Java?

Example list:

[4, 3, [4, 6, 4], 7, 9, [4, 3, [8, 1, 0], 1],          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题