This commit is contained in:
programmercarl
2022-11-27 18:11:35 +08:00
parent 0ad33e5743
commit 2cd1ebe576
15 changed files with 193 additions and 116 deletions

View File

@@ -248,7 +248,7 @@ class Solution {
return root;
}
// 左闭右闭区间[left, right)
// 左闭右闭区间[left, right]
private TreeNode traversal(int[] nums, int left, int right) {
if (left > right) return null;