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.

Uber logo
Uber
Feb 11, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
7
0
Loading...