
I just need some very basic hints.
I am thinking of topological sort + BFS to start. What do you say? (No spoilers plz)
Find sum of distances in undirected tree

I just need some very basic hints.
I am thinking of topological sort + BFS to start. What do you say? (No spoilers plz)
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en1 |
|
aakarshmadhavan | 2018-07-13 05:22:09 | 203 | Initial revision (published) |