分类
C++ Develop 算法

Algorithm Sqrt for Double

The binary divide is straight forward solution, but som […]

分类
C++ Develop 算法

LeetCode题目:Search Insert Position

二分出来了的话,i就是target应该在的位置。 Search Insert Position Given a […]

分类
C++ Develop 算法

LeetCode题目:Search for a Range

这题也是加深对二分的理解。特别是二分的最后阶段,肯定是有si == sj的。 Search for a Ran […]

分类
C++ Develop 算法

LeetCode: Median of Two Sorted Arrays

Updated Java version at 2018-07-14 Question Median of T […]