結果 : leetcode problem 1 solution python