decrease frequency of each character as they are encountered from the ' start ' index until frequency of ' ch ' is greater than 'k
' NEW_LINE INDENT while ( freq [ ord ( ch ) - ord ( ' a ' ) ] > k ) : NEW_LINE DEDENT