Soumya Ranjan Tripathysoamtripathy.hashnode.devยทDec 22, 2022Heap in PythonIn Python, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either greater than or equal to (in a max heap) or less than or equal to (in a min-heap) the k...37 readsheapAdd a thoughtful commentNo comments yetBe the first to start the conversation.