Minimum Reversal
Analyze a directed tree of n nodes from an Uber interview to find an optimal root requiring the fewest edge flips so all edges point outward.
Check more interview questions and experiences about Uber
Analyze a directed tree of n nodes from an Uber interview to find an optimal root requiring the fewest edge flips so all edges point outward.
Check more interview questions and experiences about Uber
Please log in to view interview question details