Check if frequency of each element in given array is unique or not
Given an array arr[] of N positive integers where the integers are in the range from 1 to N, the task is to check whether the frequency of the elements in the array is unique or not. If all the frequency is unique then print "Yes", else print "No". Examples: Input: N = 5, arr[] = {1, 1, 2, 5, 5}Outp