Pergunta de entrevista da empresa BuyHatke

Leetcode medium question on dsa based on max heap