- left child contains only nodes with value less than the parent node
- right child only contains nodes with values greater than or equal to parent
This page has many basic insertion/deletion algorithms http://blog.jobbole.com/79305/
IsValidBST is fundamental Lowest Common Ancester is interesting.
没有评论:
发表评论