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