← All problems
Medium · Graphs

Graph Valid Tree

Determine whether an undirected graph is connected and acyclic.

Full problem and submission ↗
main.js

Console

Ready