Sorting algorithms/Heapsort: Difference between revisions

m
J: minor cleanup
(J: minor cleanup)
m (J: minor cleanup)
Line 738:
{{eff note|J|/:~}}
'''Translation of the pseudocode'''
<lang j>swap=: {`(|.@:{`[)`]}
 
siftDown=: 4 : 0
6,962

edits