341. Flatten Nested List Iterator

Description

Here

Intuition

类似于traverse tree,我们可以用一个stack来处理

  1. Stack of ListIterator
  2. Stack of NestedInteger

Pitfall

Solution

results matching ""

    No results matching ""