C3 AI interview question

Sort by frequency then value Leetcode 1220 Photo album problem