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.
That probably means your code fails certain random tests.
I'm not sure what the author has against america flooring conventions, but it took me longer to figure out what the actual problem was than it took to solve.
you have the two backwards, user2791371
Cool Kata, but i think the level is for minimum 7 kyu ;) :)
cool kata
Your function needs to
return
the result. The tests will ignore what you printed to console.This comment is hidden because it contains spoiler information about the solution
Approved
Remember, kids: In Java, ints (including elements of int arrays) are initialized to zero. This might affect your approach to the solution.
Scala translation
This list isn't quite accurate. In the US the Ground floor is the same as the 1st floor. My understanding is that in the European method, the number represents how many levels above ground it is. So 1st floor in EU (1 floor above ground level) would be the 2nd floor in US. I think if you moved the G to the EU side and shifted everything accordingly, that would work.
Edit: Removed redundant explanation
This comment is hidden because it contains spoiler information about the solution
fixed
approved
Fix for JS regarding the un-sorted arrays
Loading more items...