6 ms·
When you get into C code sometimes you know the most thinngs that will be in the priority queue is like 3. So bubble sort is fine. You can also do something li
by pilord314 9mo ago
When you get into C code sometimes you know the most thinngs that will be in the priority queue is like 3. So bubble sort is fine.
You can also do something like a calendar queue with bubble sort for each bin.