algorithm - Is it possible to search a node/element in a Heap Binary Tree and display it's children/child? -
it's not assignment question, started learning heap , heapsort in c++ language , i'd know if possible.
of course. given node n's children @ 2n , 2n+1. same applies them, , children until reach end of heap.
Comments
Post a Comment