Problem

Count ch in s recursively.

Examples

  • countCharRec("aba", "a") -> 2
Compile and test (Ctrl+Enter)