Not a Bug Report for https://neetcode.io/problems/python-heapify, wanted to add info upfront that Unlike functions like heapq.heappush() and heapq.heappop() . heapq.heapify()Transform list, in-place, in linear time.
Not a Bug Report for https://neetcode.io/problems/python-heapify, wanted to add info upfront that
Unlike functions like heapq.heappush() and heapq.heappop() .
heapq.heapify()Transform list, in-place, in linear time.