Google interview question

Topology algorithm coding questions and 1 follow-up.

Interview Answer

Anonymous

12 Apr 2022

solved the 1st one but did not have enough time for the follow-up.