3 ms·
> Although it would also be obvious to reuse an existing binary heap implementation, rather than inventing your own. Yes, that's indeed the approach I'd take.
by anticensor 11mo ago
> Although it would also be obvious to reuse an existing binary heap implementation, rather than inventing your own.
Yes, that's indeed the approach I'd take.