Efficient C ++ program to find maximum difference between frequency of any two elements such that element with greater frequency is also greater in value .
#include <bits/stdc++.h> NEW_LINE using namespace std ;