Reverse edges in a tree
Filed under Standard Chartered
The question
Solve a tree re-rooting/tree DP problem involving reversing directed edges to make a root reachable.
No write-up yet. Related questions below have one.
Related Standard Chartered questions
Collected from public candidate posts and coding forums. Updated Nov 2026.