0 0 votes Programming in C binary-heap + – Shubham Aggarwal 991 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
0 0 votes In the tree indexing is started from root and continue to next level from left to right. So, index of node 50 is: 0 index of node 40 is: 1 index of node 60 is: 2 and so on. imnitish answered Aug 29, 2018 imnitish comment Share Follow See all 7 Comments 7 7 Comments reply Show 4 previous comments MiNiPanda commented Aug 29, 2018 reply Follow flag So basically it means at which index the element is present in the inorder traversal of bst i.e. index in sorted array ..right? 1 1 replyShare Shubham Aggarwal commented Aug 29, 2018 reply Follow flag The @MiniPanda sir i got it. 0 0 replyShare Shaik Masthan commented Aug 29, 2018 reply Follow flag @MiNiPanda yes 0 0 replyShare Please log in or register to add a comment.