Help with logic

code: https://ide.codingblocks.com/s/577161

I need help with storing the frequency of a symbol in a frequency array if you run the code you will find out the frequency of characters are being printed correctly.

(Extra Info: In the question I have return an char array of min characters required to form the given words )

Hi Raghav. what issue are u exactly facing?

not able to find the frequency for ! symbol

please share the link of question

I have made changes in ur code. Hope this clears all ur doubts.

this is the question, we have to return the minimum characters required to form the word the changes you made are counting all the characters

Oh okay.


See this code. I think it works perfectly now.
If ur doubt is resolved u can mark it as resolved now.

thanks a lot passed all the test cases

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.