Google interview question

Greedy problems and priority based queue problems