Skip to content

Commit 7fc0319

Browse files
refactor 341
1 parent f2d88f1 commit 7fc0319

File tree

1 file changed

+0
-14
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-14
lines changed

src/main/java/com/fishercoder/solutions/_341.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@
77
import java.util.List;
88
import java.util.Queue;
99

10-
/**
11-
* 341. Flatten Nested List Iterator
12-
*
13-
* Given a nested list of integers, implement an iterator to flatten it.
14-
* Each element is either an integer, or a list -- whose elements may also be integers or other lists.
15-
*
16-
* Example 1:
17-
* Given the list [[1,1],2,[1,1]],
18-
* By calling next repeatedly until hasNext returns false, the order of elements returned by next should be: [1,1,2,1,1].
19-
*
20-
* Example 2:
21-
* Given the list [1,[4,[6]]],
22-
* By calling next repeatedly until hasNext returns false, the order of elements returned by next should be: [1,4,6].
23-
*/
2410
public class _341 {
2511

2612
public static class Solution1 {

0 commit comments

Comments
 (0)