Google interview question

A graph question that could be solved using DFS approach.

Interview Answer

Anonymous

13 Sept 2024

Told him Naive and Brute force approach. They were not impressed.