Binary Search Notes

用l + 1 < r再二次检查的模板。二次检查要遵循mid check。

评论

此博客中的热门博文

776. Split BST

42. Trapping Rain Water

437. Path Sum III