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.
Well, I can open you a secret. For calcating the amount of method execution I use a subclass where I have just overriden the reverse method. How would you count the same using a static merhod? Any good idea?
The recursive function should be stateless.
I guess you have a side effect as u use global variables.
Try to find mode examples about recursive funcitons and how they supposed to work.
ok, let me double check it
Hi Danials,
It means only one thing that your code is wrong. Please try to spot an error in your code.
Unfortunately I did a mistake when put expect result instead actual and can't change it now as all tests are blocked.
You should read it as: expected 11, but was 8.
You should always spoiler your code on these discussions, since they can be viewed inadvertantly by someone who hasn't solved the kata yet.
Your reverse method should not be static. Just use public String reverse(String str). That should get you past the compiler error.