Removes the element at the specified position from the heap, maintaining the heap condition of the heap.
Removes the element at the specified position from the heap, maintaining the heap condition of the heap.This function has a time complexity of O(Log N), with N being the number of elements in the heap.