Einzelnen Beitrag anzeigen

Benutzerbild von sk.Silvia
sk.Silvia

Registriert seit: 8. Feb 2006
Ort: Slovenia
90 Beiträge
 
Delphi 7 Personal
 
#9

Re: Build Heap And Heapsort Without Array

  Alt 13. Mai 2006, 18:51
thanks for helping

aoup it actualy dont work right...

but when i cal my method 2 times after itself, like :
BinTree.BuildHeap;
BinTree.BuildHeap;

it makes a good heap

its not neccessary to call it more times, cause the heap is created and the output will be the same

but thats not the right way:/, it dont handle good the main root point
  Mit Zitat antworten Zitat