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