Post Order
Pre Order
3. Trim a BST
http://www.geeksforgeeks.org/remove-bst-keys-outside-the-given-range/
http://www.ardendertat.com/2012/01/17/programming-interview-questions-26-trim-binary-search-tree/
4.
In Order:
1. Pair of values in BST with sum S
2. Median in a BST
3. BST to Greater Sum Tree/
4. kth smallest or largest in a BST
http://www.geeksforgeeks.org/find-k-th-smallest-element-in-bst-order-statistics-in-bst/
http://www.geeksforgeeks.org/kth-largest-element-in-bst-when-modification-to-bst-is-not-allowed/
http://www.geeksforgeeks.org/kth-smallest-element-in-bst-using-o1-extra-space/
Level Order:
3. Trim a BST
http://www.geeksforgeeks.org/remove-bst-keys-outside-the-given-range/http://www.ardendertat.com/2012/01/17/programming-interview-questions-26-trim-binary-search-tree/
4.
In Order:
1. Pair of values in BST with sum S
2. Median in a BST
3. BST to Greater Sum Tree/
4. kth smallest or largest in a BST
http://www.geeksforgeeks.org/find-k-th-smallest-element-in-bst-order-statistics-in-bst/http://www.geeksforgeeks.org/kth-largest-element-in-bst-when-modification-to-bst-is-not-allowed/
http://www.geeksforgeeks.org/kth-smallest-element-in-bst-using-o1-extra-space/
Level Order:
http://www.geeksforgeeks.org/archives/657
ReplyDelete