Sum of Ceil of Square Root of Connected Components
Filed under IBM
The question
Given an undirected graph, find the sum of the ceil of the square root of the number of nodes in each connected component.
No write-up yet. Related questions below have one.
Related IBM questions
Collected from public candidate posts and coding forums. Updated Nov 2026.