Rosetta Problems
← 問題一覧に戻る
木であるかの判定
無向グラフが与えられ、木であるか判定する。
関連リンク
atcoder/past202206_g
leetcode/graph-valid-tree