Intuit interview question

Intuit Values (Typical Behavioral Questions) Graph traversing problem