Leetcode 1838. Frequency of the Most Frequent Element | Hello Interview