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.
import paradox;
ugh... writing python is so light compared to java, how come that makes me feel heavier?
@Blind4Basics I just saw the sample test, and... the edges look like
0 -- 3 -- 4
| \ /
2 1
so yeah, I guess there are loops.
Please please plesase tell me that there are no loops and only one way to get to the colleague... I am not keeping a visited array.
This comment is hidden because it contains spoiler information about the solution
Thankfully they didn't give me a 1-800 number :)
I tried to solve it using math, then realized brute-force was better... still solved it using math though...