0 votes 0 votes what is Potential function in Fibonacci heap (i dont remember the question ) plz explain with example DS data-structures binary-heap descriptive + – akshat sharma asked Mar 30, 2018 • recategorized Jul 6, 2022 by Lakshman Bhaiya akshat sharma 660 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes $trees(H)$ = number of trees in root list heap $H$ $marks(H)$ = number of marked nodes in heap $H$ $\phi (H) = trees(H) + 2*marks(H)$ $\phi (H)$ = Potential of H tress(H) = 5 marks(H) = 3 $\phi (H) = 5 + 2*3$ = $11$ pankaj_vir answered Mar 30, 2018 • selected Mar 30, 2018 by akshat sharma pankaj_vir comment Share Follow See all 2 Comments See all 2 2 Comments reply rajatmyname commented Apr 5, 2018 reply Follow Share I didn't understand what is trees(h) and marks(h). Please explain it in a simple way 0 votes 0 votes pankaj_vir commented Apr 5, 2018 reply Follow Share Read this article: http://staff.ustc.edu.cn/~csli/graduate/algorithms/book6/chap21.htm 0 votes 0 votes Please log in or register to add a comment.