Word occurence problem why we do it

why we do frequently count[str[i]-‘a’]++, and some place count[str[i]-‘0’]++

Hii Ashish,
Share the link of the question.

Already I raise the issue

Hii Ashish,
Actually you have raised the question against wrong video.

Hey Ashish, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.