Function that checks if the string contain exactly K characters having ASCII value greater than p
def isValidSubString ( r , K , p ) : NEW_LINE INDENT c = 0 NEW_LINE for i in range ( 0 , len ( r ) ) : NEW_LINE DEDENT