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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
beep-boop hello,
My code passes all test but this one: "Testing for wrong test 1". It throws the following error: "TypeError: Cannot read properties of null (reading 'reduce')". I read about it and I found that this error occurs when:
Can anyone point me in a direction to solve this issue? beep-boop
Would be nice for the TypeScript template to have proper type annotations: rather than
input: any
,input: number[] | null
would be more accurate.There should be more info on the test results, like show the inputs for which we're failing the test. As a beginner it's very hard to find for which input I failed the test.
error: null can not be a value of a non-null type Array
assertArrayEquals(arrayOf(), countPositivesSumNegatives(null))
my sample test its fine, but when i attempt my code thats eror appear
LANGUANGE = KOTLIN
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
Loading more items...