Heap tree ustida amal bajarish algoritmlari
Heap tree ustida bajariladigan amallar:
Element qo’shish
Element o’chirish
Min-heapga yangi element kiritish algoritmi:
Min-heapga yangi 43 sonini kiritamiz. Min-heapga 18 ni kiritamiz.
Min-heapga 2 ni kiritamiz.
Do'stlaringiz bilan baham: |