Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed checkstyle.
  • Loading branch information
javadev committed Nov 23, 2021
commit 27827068d77278574c07a3e8885931c1d608b825
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ public class Solution {

public List<String> binaryTreePaths(TreeNode root) {
result = new ArrayList<>();
if (root == null) return result;
if (root == null) {
return result;
}
sb = new StringBuilder();
walkThrough(root);
return result;
Expand Down