Maximum And Value Leetcode Rating