Domanda di colloquio di TikTok

Leet code question was related to Priority Queue