Modifier and Type | Field and Description |
---|---|
List<Node> |
Node.neighbors |
List<Node> |
Node.neighbors |
Constructor and Description |
---|
Node(int val,
List<Node> neighbors) |
Node(int val,
List<Node> neighbors) |
Modifier and Type | Method and Description |
---|---|
Node |
Solution.cloneGraph(Node node) |
Node |
Solution.cloneGraph(Node node) |
Modifier and Type | Method and Description |
---|---|
Node |
Solution.cloneGraph(Node node) |
Node |
Solution.cloneGraph(Node node) |
Modifier and Type | Method and Description |
---|---|
List<List<Integer>> |
Solution.levelOrder(Node root) |
List<List<Integer>> |
Solution.levelOrder(Node root) |
Modifier and Type | Method and Description |
---|---|
int |
Solution.maxDepth(Node root) |
int |
Solution.maxDepth(Node root) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
Solution.preorder(Node root) |
List<Integer> |
Solution.preorder(Node root) |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
Solution.postorder(Node root) |
List<Integer> |
Solution.postorder(Node root) |
Copyright © 2022. All rights reserved.