OA [CodeSignal] Minimum Edge Reversal Root
CodeSignal OA Bank interview questions · Hard · OA round · 5 tests
Choose the tree root that minimizes how many directed edges must be reversed to point outward.
The full question, tests and reference solution are available with a plan that includes CodeSignal OA Bank.
Run your code with Ctrl+Enter to see results.