in heap if the elements are same for different type of inputs order of inputs we get different types of heaps??
Heap priority queue
yes if the input order is different then, the elements at certain level can be interchanged.
so ordering of vinsertion does not matter in heap??
Yes, order of insertion doesnt matter in heap
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.