Google·Software Engineer·Technical Phone Screen
- Given a number of courses and a list of prerequisite pairs, determine whether it's possible to complete all courses. The interviewer also introduced an additional variant condition on top of the standard problem.
“I knew the base version cold, cycle detection in a directed graph, topological sort, done it a hundred times.”