Count of Nodes in Connected Components

Company: NK Securities_18june

Difficulty: medium