forked fromneetcode-gh/leetcode
- Notifications
You must be signed in to change notification settings - Fork0
Commitb2360eb
authored
Update 0417-pacific-atlantic-water-flow.java
List.of is generally recommended over Arrays.asListbecause of the former gives immutable (a copy of the list)https://www.baeldung.com/java-arrays-aslist-vs-list-of#1-differences-from-arraysaslist1 parentc8fcdaa commitb2360eb
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
|
0 commit comments
Comments
(0)