Can we delete any node in the max heap using -ve infinity value of that node and down-heapidying that node

Please help… Can we delete any node in the max heap using -ve infinity value of that node and down-heapidying that node.

hello @pranjalsoni
No you cannot because that might violate the heap property.
for example->
try deleting 40 using ur technique ,the resultant tree u will get will violate heap property.
image