Skip to content

Make HeapSort use single stack frame #741

@steverigney

Description

@steverigney

Currently the heapsort uses recursion to achieve the bubble-up/bubble-down - as this is tail recursive it could be done inside a loop - and use only one stack frame - preventing potential stack overflow.

I would like to be assigned this if possible.

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