Skip to content

Adding Clarity #5951

Description

@pushpullleg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions