← All problems
Medium · Graphs

Redundant Connection

Identify the last removable edge restoring a tree.

Full problem and submission ↗
main.js

Console

Ready