Maximum Repeating Number Leetcode Python Coding