Write a code in C/C++ to find the largest BST sub-tree in a binary tree .
Eg:-
                                                       10
                                                     /     \
                                                  5         15
                                                 /  \        /  \
                                               1    8     14  17
                                                                 /  \
                                                               16  19
Then answer should be -

                        15
                    14     17
                         16   19 

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/COM2hRO-VZgJ.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to