implement problem, need some kind of hash to save space, also use C I/O to save time, refer others' algo
implement problem, need some kind of hash to save space, also use C I/O to save time, refer others' algo

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