DIY: Number of Provinces
Explore how to determine the number of provinces by analyzing city connectivity matrices with graph algorithms. Understand how to implement solutions that identify directly and indirectly connected groups of cities, enhancing your coding interview skills in Elixir.
We'll cover the following...
We'll cover the following...
Problem statement
Suppose there are n cities, where some are ...