Understanding Heaps and Priority Queues in TypeScript | CodeSignal Learn