class_docstr: Binary Heap Class
class_docstr_tok: ["Binary","Heap","Class"]
code: def remove_min(self):
      ret = self.heap[1]  # the smallest value at beginning
      # Replace it by the last value
      self.heap[1] = self.heap[self.current_size]
      self.current_size = self.current_size - 1
      self.heap.pop()
      self.perc_down(1)
      return ret
  
file_path: keon-algos/algorithms/heap/binary_heap.py
imports: from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 6 for calling the BinaryHeap obj's underlying member method code with example usage: obj.remove_min() and returns: ret