KLA Interview Question

Algorithms based on heap & graph traversal