Frage im Vorstellungsgespräch bei Chewy

Leetcode medium question - return K most common values in an array