← All problems
Medium · Graphs

Minimum Height Trees

Find roots yielding the smallest possible tree height.

Full problem and submission ↗
main.js

Console

Ready