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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
thanks i will do so ,before that i did not knew the what is discourse page, thanks again for your guiedence
[HIDDEN]
this is my code for memoisation ,but i am getting wrong eith this
exampal:::: of 10 i am getting 89 but answer of codewar is 55
i am getting 55 at 9
so what is wrong with this code
This comment is hidden because it contains spoiler information about the solution
https://www.codewars.com/kata/tribonacci-sequence/train/python
I HAVE SOLVE THIS BUT GETTING ERROR WHILE FINAL SUBMISSION
HERE IS MY CODE
def tribonacci(signature,n):
if n == 0:
return []
if n < 4:
return signature[:n]
for i in range(2, n - 1):
new = signature[i] + signature[i-1] + signature[i-2]
signature.append(new)
return signature