Is there any reason why the input is a list instead of a NestedInteger instance?

  • 0

    As the whole list can be represented by a single NestedInteger instance, why do we need a list as the input?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.