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 took a while to understand the task, although the solution itself is not at all complicated. very good kata
confidently incorrect a-holes are my favorite type of issue raisers :D
No, you're wrong. Not a kata issue.
The problem is nice, because of it's story with a broken ferry. I like stories.
Noticed that there is certain ambiguity in the formulation.
So the cars are not initially waiting in the queue, but might come
So if some car comes on the oposite bank the ferry must pick it first
So the cars are already formed some lanes
in first two sentences sequence of arrivals:
should trigger 3 moves
while last prioritise this solution:
The last solution was chousen to be correct by the author. It would be good to specifically highlite that given
std::vector<std::pair<int,std::string>> loads
is the queue which is already waiting in the loading areas, ordered by the retrospective historical time of arraival.The test cases are not covering such point, but probably it is worth mentioning in the description.
"left"
and"right"
is not it better to shorten those tochar
'l'
and'r'
or even makebool
?I love this one, easy to understand
This comment is hidden because it contains spoiler information about the solution
python new test framework is required. updated in this fork
Clever one!
WOW man
Approved
python new test framework is required. updated in this fork
.
Sorry, this is a translation for Rook Count Attack. I don't know how it ended up here!
Python Translation
This is dumb and also wrong
Approved
Loading more items...