donnemartin / donnemartin/interactive-coding-challenges

bst_valid_challenge's one test case is wrong

Open
#197 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
31.8k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

hi, I noticed that test case below is not a valid binary search tree, it might be valid if we delete the node 6, but in your challenge notebook marked it as valid. I'm not sure I should delete the node 6 and send a pr or just submit an issue, so I just submit an issue.
Valid:
```
5
/ \
5 8
/ \ /
4 6 7
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.