How t0 go throeugh after tat

i sort the array and start traversing in the array also i make another array to store the character of first array but am stuck on how to calaculate each time a character comes

so first you can initialize a variable at starting like
int maxcount = INT_MIN;

inside the loop after you update the frequence array, then you can compare your maxcount variable with count of current character and update it is greater than maxcount.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

will u plzz code it i am unable to code and plzz comment it oiut