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