Maximum Repeating Number Leetcode Two