Search⌘ K
AI Features

Number of Provinces

Number of Provinces gives an adjacency matrix showing direct city connections. Return how many provinces contain cities linked directly or through a chain of connections.

Statement

Given ...