Count the occurrences of a character in a string
EasyProblem Statement
Count the occurrences of a character in a string
Sample Input
"hello world" and 'l'
Sample Output
The character 'l' occurs 3 times
Limits
Time: 2s · Memory: 256 MB
Count the occurrences of a character in a string
"hello world" and 'l'
The character 'l' occurs 3 times
Time: 2s · Memory: 256 MB