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.
@CBBBrother I think his method is pretty safe, considering he's not copying the vector for each stack frame but instead only the reference to that vector.
@yidui From what I understand, the function isn't tail recursive because the recursive call isn't the last operation performed by the function (last operation being the allocation of the new object). I don't really see how one could write it as a tail recursive funcion really...
Maybe use tail recursion can avoide this problem.