Skip to content

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

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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