1 1 vote Inorder successor maybe a an ancestor of the node. this statement is true or false. Data Structures + – eyeamgj 622 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote 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 3 3 Comments reply eyeamgj commented Dec 13, 2017 i edited by eyeamgj Dec 13, 2017 reply Follow flag how ???????? 0 0 replyShare gauravkc commented Dec 13, 2017 reply Follow flag Do Inorder traversal. You will get 4 8 10 12 14 20 22 Check 4 8, 10 12, 14 20 0 0 replyShare eyeamgj commented Dec 14, 2017 reply Follow flag 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 0 replyShare Please log in or register to add a comment.