Тёмный

Fibonacci heap decrease key and delete key operations 

Techlearners By Neeraj Saxena
Подписаться 14 тыс.
Просмотров 16 тыс.
50% 1

#techlearners
Decrease key Operation
Decrease key of element x to k.
Case 0: min-heap property not violated.
decrease key of x to k
change heap min pointer if necessary
Case 1: parent of x is unmarked.
decrease key of x to k
cut off link between x and its parent
mark parent
add tree rooted at x to root list, updating heap min pointer
Case 2: parent of x is marked.
decrease key of x to k
cut off link between x and its parent p[x], and add x to root list
cut off link between p[x] and p[p[x]], add p[x] to root list
If p[p[x]] unmarked, then mark it.
If p[p[x]] marked, cut off p[p[x]], unmark, and repeat.
Delete Key Operation
Delete node x.
Decrease key of x to -.
Delete min element in heap.
TECHLEARNERS BY NEERAJ SAXENA
www.techlearners.co.in

Опубликовано:

 

8 дек 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@random_things_by_pushap
@random_things_by_pushap 6 месяцев назад
Tommorow is my data structures exam and i was facing difficulties in fibonacci heaps after watching this lecture my all doubts are cleared, thanks a lot sir
@deepankarsingh6894
@deepankarsingh6894 2 года назад
why didnt you mark 7 at last?
@jasondeb2678
@jasondeb2678 2 года назад
it would be extremely good if you could just make a playlist explaining all the ad data structures as there are very videos explaining these
@TechlearnersbyNeerajSaxena
@TechlearnersbyNeerajSaxena 2 года назад
I have already created a playlist one can find on my channel page.. I will be adding more to the playlist.. If someone wants any specific topics then please share syllabus or topics with me.
@jasondeb2678
@jasondeb2678 2 года назад
@@TechlearnersbyNeerajSaxena sir it would be extremely helpful if you could add videos on kew heaps, doubling techniques, scapegoat trees, disjoint set with backtracking, level ancestors, van emde boas trees, relaxed balance red black tree
@himanshipandegi6225
@himanshipandegi6225 2 года назад
Sir in decrease how the value of p[p[x]]=24
@bhushanamkommu8875
@bhushanamkommu8875 2 года назад
Sir gud evng. Plz provide me one video class of cascading cut in fibonacci heap.
@pradhanan9413
@pradhanan9413 2 года назад
Awesome, thank you sir👏👏
@TechlearnersbyNeerajSaxena
@TechlearnersbyNeerajSaxena 2 года назад
most welcome
@MsPiter87
@MsPiter87 3 года назад
good walleted video!
@TechlearnersbyNeerajSaxena
@TechlearnersbyNeerajSaxena 3 года назад
Thanq
Далее
Design and Analysis of algorithms - MCQ 1 - 20
14:10
Happy 4th of July 😂
00:12
Просмотров 4,7 млн
Binomial Heap Union and Insertion Operations
16:55
Просмотров 23 тыс.
Fibonacci Heaps - Simply Explained
16:27
Просмотров 5 тыс.
2.6.3 Heap - Heap Sort - Heapify - Priority Queues
51:08
Amortized analysis of the Fibonacci heap
29:35
Просмотров 5 тыс.
Learn Particle Swarm Optimization (PSO) in 20 minutes
19:08
Fibonacci heap
18:13
Просмотров 17 тыс.