eSEED interview question

An Easy Leetcode question (sort numbers by their frequency)