donnemartin / donnemartin/interactive-coding-challenges
bst_valid_challenge's one test case is wrong
Open
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
Assessment
This issue has not been assessed yet.