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.
nice :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
could anyone explain what makes 2*(n-1) option better than n*2-2?
During C programming it's becoming a habit, couse without semicolon in every place where it should be your program won't run
LOL, why here all solutions are very similary)
Wow, it's really clever "D
that's what i'm asking myself every time i see other people's solutions
I'd like to see some test cases that lead to networks with longer-running iterations, though I understand that there are several factors that might make this difficult.
I had set a limit of t < 10 while developing my solution and was surprised that I passed all of the test cases without making t indefinite.
This comment is hidden because it contains spoiler information about the solution
Nice ))
Fixed
This kata currently does not explicitly rule out networks with any cycle that contains odd number of
-1
s, such asThese networks are unsolvable for obvious reasons, and existing solutions all return their own results when this happens.
how...
Loading more items...