File tree Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1
- public class ListNode {
2
- private int val ;
3
- public ListNode next ;
4
-
5
- public ListNode (final int val ){
6
- this .val = val ;
7
- this .next = null ;
8
- }
9
-
10
- public int value (){
11
- return this .val ;
12
- }
1
+ public class ListNode {
2
+ private int val ;
3
+ public ListNode next ;
4
+
5
+ public ListNode (final int val ){
6
+ this .val = val ;
7
+ this .next = null ;
8
+ }
9
+
10
+ public int value (){
11
+ return this .val ;
12
+ }
13
13
}
Original file line number Diff line number Diff line change 1
- public class TreeNode {
2
- private int val ;
3
- public TreeNode left , right ;
4
-
5
- public TreeNode (final int val ){
6
- this .val = val ;
7
- this .left = this .right = null ;
8
- }
9
-
10
- public int value (){
11
- return this .val ;
12
- }
1
+ public class TreeNode {
2
+ private int val ;
3
+ public TreeNode left , right ;
4
+
5
+ public TreeNode (final int val ){
6
+ this .val = val ;
7
+ this .left = this .right = null ;
8
+ }
9
+
10
+ public int value (){
11
+ return this .val ;
12
+ }
13
13
}
You can’t perform that action at this time.
0 commit comments