Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I think it's pretty obvious your old solution resets the index at the first match and begins counting from 0 from after it (since the second
o
is index 2 with respect to the letter after the firsto
, if it were considered index 0). Can't confirm because it seems you've changed the answer eventually. Please try to be more helpful with your questions next time and specify your language, etc.Incorrect answer for str="Hello world!!!" symbol=o
Expected: equal to 7
Actual: 2
??? wt?