Function that returns true if some character exists in the given string whose frequency is equal to the sum frequencies of other characters of the string
static bool isFrequencyEqual ( String str , int len ) {