TLE, need more efficient algorithm
TLE, need more efficient algorithm

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