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.
Per the description:
This isn't a bug. You're not passing because you're breaking the tests, you're passing because the operation you're doing in your solution is a valid way to recolor all the nodes. It's not one that I like, but it's valid, and trivializes the issue.
Perhaps the problem should force certain nodes to start as certain colors, in order to disable this trick? If so, that should be a separate kata. I'm certainly not coding it up here.
Regeardless, nice solution. Resolving.
Now deepcopying inputs prior to administrating tests, so mutation doesn't affect validation. Ty for callout.
Thank you for your kind compliment. I try.
thanks <3
also nice job my guy :-D
ty
Bump.
It isnt as complicatedWhen you get it you will feel dumb, I assure you. I sure did.
Always return the minimum number of steps possible to converge all 3 coins.
Thanks for compliment :)
.
Also, Bellman Ford is for weighted graphs. Which this is not. Optimization is possible.
This comment is hidden because it contains spoiler information about the solution
Fixed.
Loading more items...