Leetcode Basic Problems In Python Iteration Process Model