PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Given a string, compute recursively (no loops) the number of times lowercase "hi" appears in the string.i was not clear on how to find the number of hi using recursion? please advise
countHi("xxhixx") → 1
countHi("xhixhix") → 2
countHi("hi") → 1
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.