Choose root to minimize edge reversals

Quick Overview

This question evaluates understanding of directed versus undirected graph representations, tree rooting, and optimization of edge orientations, testing competency in graph algorithms and tree re-rooting reasoning.

Choose root to minimize edge reversals

Company: Uber

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: This question evaluates understanding of directed versus undirected graph representations, tree rooting, and optimization of edge orientations, testing competency in graph algorithms and tree re-rooting reasoning.

|Home/Coding & Algorithms/Uber
Uber logo
Uber
Feb 11, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
6
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...