Google Interview Question

Graphs were asked and topological sort in that.

Interview Answer

Anonymous

Jul 28, 2025

I couldn't answer that question. I started by thinking of arrays and then reached to a graph solution. I could write the code once they told me what algo should be used here.