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

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -