โ† Shell questions

Social Network Friend Groups

Filed under Shell

The question

Given N users labeled from 2 to N+1 where multiples are allocated as friends, calculate the number of connected friend groups formed.

No write-up yet. Related questions below have one.

Related Shell questions

Collected from public candidate posts and coding forums. Updated Nov 2026.