Given an array of integers, sort the array in decreasing order based on the frequency of the values. If two values have the same frequency, sort them in increasing order of their values.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.