easy implementation problem, but spend too much time, also the code can be more elegant
easy implementation problem, but spend too much time, also the code can be more elegant

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