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.
same for C translation!
I agree. The order of the traffic lights in this kata does not emulate a real traffic light. In real life, a yellow light always follows green to give the driver a short warning that the light is about to turn red.
This is not a performance kata. It can be solved without optimisations in <1 second.
so which kata made you 1dan? ;-)
Possibly because all reference solutions use an incorrect implementation of same ..
The kata is called "Simple Fun", but you're right very easy, probably should be a 6kyu not a 5.
Fixed
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I would say, that this is relatively easy, but requires some coding. I mean there definitely no 'one line solution' and in order to solve this.
Even hardcoding is simple: the possible numbers are very limited...
Agreed! I really don't understand why in a game like this you'd want to be returning who just took the turn. Usually, you'd build some sort of message to the players to explain who's turn is next, not who just went.
thx :)
This comment is hidden because it contains spoiler information about the solution
This isn't actionable.
Loading more items...