Sorting algorithms/Heapsort: Difference between revisions
m
→{{header|Julia}}
Line 1,995:
=={{header|Julia}}==
<lang julia>function pd!(a, first, last)
if c < last && a[c] < a[c + 1]
c += 1
end
if a[
a[c], a[
else
break
|