Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 325f885 commit bcb1fa2Copy full SHA for bcb1fa2
Solutions/0341. 扁平化嵌套列表迭代器.md
@@ -11,7 +11,7 @@ NestedInteger 类提供了三个方法:
11
12
- `isInteger()`,判断当前存储的对象是否为 int;
13
- `getInteger()` ,如果当前存储的元素是 int 型的,那么返回当前的结果 int,否则调用会失败;
14
-- `getList()`,如果当前存储的元素是 List<NestedInteger> 型的,那么返回该 List,否则调用会失败。
+- `getList()`,如果当前存储的元素是 `List<NestedInteger>` 型的,那么返回该 List,否则调用会失败。
15
16
要求:实现一个迭代器将其扁平化,使之能够遍历这个列表中的所有整数。
17
0 commit comments