Jump to content

Sorting algorithms/Heapsort: Difference between revisions

m
(Added uBasic/4tH version)
Line 3,354:
 
_Heapsort PARAM(1) ' Heapsort
LOCAL (1)
PROC _Heapify (a@)
 
Line 3,416:
PRINT
RETURN</lang>
 
=={{header|zkl}}==
<lang zkl>fcn heapSort(a){ // in place
374

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.