Amity Networks — Tag Graph Components
“Follow the lines, find the schools.” — Harbor Analytics
Challenge: Build an undirected graph from tag pairs and count connected components.
Telemetry • Graph Theory
Task:
  1. Implement count_components(pairs).
  2. pairs is a list of edges like [(1,2),(2,3),(4,5)]. Count the number of connected groups.
  3. Click Run Unit Tests. If all tests pass, you'll get the flag.