Giải thuật sau thực hiện việc gì trong phương pháp sắp xếp vun đống? Procedure Downheap(k:integer)Label 0; Begin v:=a[k];While k=a[j] then goto 0; a[k]:=a[j]; k:=j;end;0: a[k]:=v;End;
49/50
Giải thuật sau thực hiện việc gì trong phương pháp sắp xếp vun đống? Procedure Downheap(k:integer)