4 ms·
"find the minimum of the elements being pointed at" - doing that efficiently (e.g. with a heap) is the 'trick' to the problem.
by hendzen 9y ago
"find the minimum of the elements being pointed at" - doing that efficiently (e.g. with a heap) is the 'trick' to the problem.
- Vendan 9y agoNah, the trick is knowing that merging and then sorting isn't the best way.