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.
It makes sense that if a new Song object is instantiated that it would start with no listeners yet.
Because only rows 1 & 2 are reported. Row 0 becomes [0,0,0] after 'S', and the instructions state that the smallest possible array is reported where any row or col has any element > 0.
4000 <= $n <= 9007199254740990
Each random tests uses a new song.
50 for Java's random tests
I assume Python? Max
n
is 10 in Python.Have a look at the triangles with short lengths. See what you notice.
This comment is hidden because it contains spoiler information about the solution
Because your code is a mess: sometimes it returns something, and sometimes nothing (if I believe you). You need some debugging: https://docs.codewars.com/training/troubleshooting.
This is a desserved 3 kyu kata, not an easy one.
Since I can't see your solution, I'm going to guess with most common things:
You can solve it by writing correct code. Nothing is broken here...
See if this article helps you: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
So basically the last test case itself is wrong and hence i can't submit my code. how did you guys submit your code ?
same here, tested on the terminal my code return false, but somehow here it return true
Your first else ain't aligned with any if .
No, there is no nested structure in the second one. That's a number and two strings, see the quotes there?
Loading more items...