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.
This comment is hidden because it contains spoiler information about the solution
Omg... I was inconsiderate 🤦
You are absolutely right)
Now everything works as expected.
Thaks!
It's doesn't work. Why? Can someone explain me this?
print(tribonacci([1, 1, 1], 10)) it returns: [1, 1, 1, 3, 3, 5, 7, 11, 15, 23, 33]
When the correct answer is [1, 1, 1, 3, 5, 9, 17, 31, 57, 105]
I checked the solution several times and logically everything should normal. But...
Is this the magic of recursion?