p2 always need to reset to loopNode
p2 always need to reset to loopNode

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