Problem description: Visit and Support LintCode Search via Difficulty: Medium Tags: LintCode, Heap, O(n), O(1), Medium ProblemSolutionCodeProblem