Skip to content

Node.isBinarySearchTree, from Adjacency List, doesn't work if the node is not a valid tree #2

Open
@Braden1996

Description

@Braden1996

Currently, there are no checks in place to verify that the Node is actually part of a tree. This means, this function may recurse forever (until crash).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions