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 d8e67fd commit 1797e75Copy full SHA for 1797e75
src/main/java/com/fishercoder/common/classes/Node.java
@@ -9,9 +9,9 @@ public class Node {
9
public Node() {
10
}
11
12
- public Node(int _val, List<Node> _children) {
13
- val = _val;
14
- children = _children;
+ public Node(int val, List<Node> children) {
+ this.val = val;
+ this.children = children;
15
16
17
//todo: implement this method
0 commit comments