Pregunta de entrevista de Google

DSA Question based on Priority Queue