Back Clear
# Your Problem: # Given a string, compute recursively (no loops) the number of "11" # substrings in the string. The "11" substrings should not overlap. # # # count11("11abc11") → 2 # count11("abc11x11x11") → 3 # count11("111") → 1 # # Credit for this problem goes to Nick Parlante from CodingBat.com # Do not modify anything outside of the function or the function itself. # CODE START def getCount11(str:str) -> int: # CODE END # Press Ctrl+E (Command+E on mac) to test your code