1 votes 1 votes Inorder successor maybe a an ancestor of the node. this statement is true or false. eyeamgj asked Dec 13, 2017 eyeamgj 260 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes yes it is true... look at this here ..IN-ORDER SUCCESSOR OF 10 is 12 and its ancestor of 10... SHUBHAM SHASTRI answered Dec 13, 2017 SHUBHAM SHASTRI comment Share Follow See all 3 Comments See all 3 3 Comments reply eyeamgj commented Dec 13, 2017 i edited by eyeamgj Dec 13, 2017 reply Follow Share how ???????? 0 votes 0 votes gauravkc commented Dec 13, 2017 reply Follow Share Do Inorder traversal. You will get 4 8 10 12 14 20 22 Check 4 8, 10 12, 14 20 0 votes 0 votes eyeamgj commented Dec 14, 2017 reply Follow Share AS i studied inorder successor means first go to right then to the left most node........the how IN-ORDER SUCCESSOR OF 10 is 12 and its ancestor of 10 0 votes 0 votes Please log in or register to add a comment.