Search⌘ K
AI Features

Number of Provinces

Number of Provinces gives a city connection matrix where direct links can join larger groups through indirect connections. Return the total number of provinces.

Statement

Given ...