Skip to content

Make BinaryHeap._heapify use iterative logic #47

Closed
@czgdp1807

Description

@czgdp1807

Description of the problem

The recently merged #46 uses recursive logic for heapifying the elements. The maximum recursion depth can cause this logic to fail. Convert that to logic an iterative one.

Example of the problem

References/Other comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions