Jump to content

Sorting algorithms/Heapsort: Difference between revisions

m
(add task to aarch64 assembly raspberry pi)
Line 1,746:
=={{header|EasyLang}}==
 
<lang>intvarssubr make_heap
subr make_heap
for i = 1 to n - 1
if data[i] > data[(i - 1) / 2]
2,056

edits

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