Example 1
Example 2
1 <= s.length <= 5 * 104s consists of digits, square brackets "[]", negative sign '-', and commas ','.s is the serialization of valid NestedInteger.All the values in the input are in the range [-106, 106].Example 1
Example 2
1 <= s.length <= 5 * 104s consists of digits, square brackets "[]", negative sign '-', and commas ','.s is the serialization of valid NestedInteger.All the values in the input are in the range [-106, 106].