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.
Nice Kata
Really enjoyable challenge of the series, good job.
C++ translation (author inactive). This is my first C++ translation so please review carefully.
Thanks :)
C Translation kumited (author inactive).
approuvé
COBOL translation with random tests (author gone).
Pay attention, my friend, on last element of test2 array. There is diffrence. In instructions is "5", but in Tests is "3", becouse length of arrays is diffrent. In instructions parameter "n" presents maximum INDEX of fib. Array, and on Tests "n" presents maximum length of array.
I've tested my code in console, and it works as expected, but when it's pasted in codewars, error pops up. That's how error is spoted.
In the description there is an example 9 -> 44
In the js tests there is a test 9 -> 44
How is that different? It's exactly the same. Maybe your code is off by one.
In JS version, in Test_2, expected result is 44 but it should be 10.
Problem is difference between instructions and tests
Instruction → INDEX in the Fibonacci sequence → Exemple 1, n=5, [0,1,1,2,3,5]
Tests → Arrray.length → Test 1, n=5, [0,1,1,2,3]
No random tests in JS version
Julia translation
Python translation kumited :) please review and approve ~~
Loading more items...