refer to others' solution, reimplement it
refer to others' solution, reimplement it

python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution