MathCastle
Graph TheoryMediumTrees

Trees · Medium problem

A forest (a graph with no cycles) has 2020 vertices and 1414 edges. How many connected components does it have?