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.
I have two more challenges for you in case you are interested:
Solution logic is valid but as pattern syntax has changed
Arguments should probably be
((Int, Int), (Int, Int), (Int, Int))
rather than(Int, Int, Int, Int, Int, Int)
, makes it significantly easier to parse visually.I agree, description edited to mention the non-overlapping constraint. The original description tried to explain that these rectangles have no 3rd dimension property (which is stating the obvious). But it added more confusion than anything else.
Statement
Boxes can not be stacked on top of each other, these can only be placed on the floor.
from description was misleading for me. It only means that rectangles can not overlap.Binary search was overkill here. Perfomance tag means not to check every floor one by one.
Just wanted to improve my first solution after looking at other solutions. King is alive!
"The king is dead, long live the king!" EDIT: oops, it's a tie, so we have two kings now
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
How about example
w.j.##j###~~j.o..o#pjoj~~
? Jump over lady, but there are j or o between warior and lady.Approved
Might be better to encode
Nothing
as-1
,undefined
orerror $SOMETHING
instead of a valid index.Loading more items...