https://leetcode.com/problems/maximum-frequency-stack/