Problems > The Largest Circle > Editorial

The Largest Circle — Solution & Editorial

Back to the Problem

Component discovery as usual, tracking the largest size found.

Complexity: O(N + M)