Problem description: Visit and Support LeetCode Search via Difficulty: Medium Tags: LeetCode, Math, O(logn), O(1), Medium, LintCode ProblemSolutionCodeProblem