Google interview question

Leetcode exercises on DP, Heaps and graphs mostly