Q1) 547. Number of Provinces 👉 LeetCode Problem Link 💡 Initial Idea & The Mistake My first instinct was to simply count the rows where the array sum equals 1 (meaning a city is only connected to itself), assuming everything else would naturally hook together into a single province. The flaw in that logic: I completely overlooked scenarios where you might have multiple distinct, disconnected clusters of cities (e.g., two cities connected to each other, while three other cities form their own sepa