|
|
back to boardUsed the adjacent list But established it with an error which makes me WA #13. Guess cases before #13 are simple with no big number of vex. I get AC Use BFS - i get AC. Make array size as n items. Rules for filling: 0 items equals -1, if first elements have childs them set 1 and use recurce. |
|
|