Problem description: Visit and Support LintCode Search via Difficulty: Hard Tags: LintCode, Math, O(1), Hard, CTCI, Greedy, O(n), Medium ProblemSolutionCodeProblem