Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3a37876

Browse files
update 145
1 parent4665ffa commit3a37876

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/com/fishercoder/solutions/firstthousand

1 file changed

+1
-2
lines changed

‎src/main/java/com/fishercoder/solutions/firstthousand/_145.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ public static class Solution3 {
7272
* recursive solution is trivial.
7373
*/
7474
publicList<Integer>postorderTraversal(TreeNoderoot) {
75-
List<Integer>result =newArrayList();
76-
returnpost(root,result);
75+
returnpost(root,newArrayList());
7776
}
7877

7978
List<Integer>post(TreeNoderoot,List<Integer>result) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp