Google Interview Question

Greedy problems and priority based queue problems