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.
This comment is hidden because it contains spoiler information about the solution
makes perfect sense. Clever!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It does the trick but there are some really concise solutions here with a fraction of the upvotes...
thanks. my bad.
I think we just got lucky that the test cases didn't cover uppercase vowels.
Unless I am missing something
I was thinking of converting it to a matrix where each value is 1, except:
where the bomb is located would be '10'
where the kit is located would be '-5'
if a path exists that is under the supplied integer, then it's possible. but it turns out that traversing this matrix is the tricky part. I'm tempted to think this solution is too complicated. Maybe a little bit more relevant if the goal was to find the most optimal path.
New here: I didn't use the spoiler flag because I assume I'm not thinking about it the right way. If i should use it, LMK.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
elegant! I love it.