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.
oh thanks for the feedback! you mean to use the code directly in place instead of creating the abstractions? if i understood correctly it's a good point. ty again
I understand. In that scenario, I would assume that there is a method or keyword to implement safe stack recursion.
Both solutions are O(n), what makes them equally bad! Check my better, O(1) solution here! ;)