couldn’t we solve the cities question discussed in this video using normal dfs to find the sizes of the components?
Another method doubt
yeah we can solve it using dfs as well
couldn’t we solve the cities question discussed in this video using normal dfs to find the sizes of the components?
yeah we can solve it using dfs as well