0
/ 50
Given a string, compute the number of times lowercase "hi" appears in the string. Make the countHi
be recursive.
Given a string, compute the number of times lowercase "hi" appears
in the string. Make the countHi
be recursive.
Examples:
countHi("xxhixx") -> 1
countHi("xhixhix") -> 2
Your feedback will appear here when you check your answer.