Skip to content

Tree can become linear instead of binary #2

@codophobia

Description

@codophobia

According to your code, if all the distance are equal(in build function), the tree will become linear and time complexity will increase.

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