Find Min Diff Leetcode Python