Priority queue: Difference between revisions
m
→{{header|Stata}}
(Add Stata task) |
|||
Line 5,721:
=={{header|Stata}}==
Using <code>mata</code> code, which has 1-based arrays:
<lang stata>mata
struct Node {
Line 5,841:
1 -> Solve RC tasks
</pre>
=={{header|Swift}}==
You can use <code>CFBinaryHeap</code> from Core Foundation, but it is super ugly due to the fact that <code>CFBinaryHeap</code> operates on generic pointers, and you need to convert back and forth between that and objects.
|