if we take input from
// here nin e element input 9
4
1
3
7
8
17
2
9
10
// what is the output
Build heap from array
please reply quickly.
i want maxheap…
is it possible that we get various type of maxheap for the given array input
hello @sunneykumar309 yes this is possible there is just one or two changes you have to make in your code .
if you dry run your code you will be able to find what changes you need to make .
I hope I have cleared your doubt !!
Happy Learning !!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.