0 votes 0 votes Consider the following What is the rank(index) of the node $50?$ DS data-structures test-series + – Lakshman Bhaiya asked Nov 6, 2018 Lakshman Bhaiya 997 views answer comment Share Follow See all 22 Comments See all 22 22 Comments reply Show 19 previous comments Lakshman Bhaiya commented Nov 18, 2018 reply Follow Share In right skewed tree rank is $0?$ 0 votes 0 votes kumar.dilip commented Nov 18, 2018 reply Follow Share According to the question, It could be zero-based or 1-based Indexing. https://stackoverflow.com/questions/26080924/computing-rank-of-a-node-in-a-binary-search-tree http://www.cs.princeton.edu/courses/archive/spr09/cos423/Lectures/rbtrees.pdf 0 votes 0 votes Manas Mishra commented Nov 18, 2018 reply Follow Share @lakshman in right skewed tree rank of root is zero if u use 0 based rank 0 votes 0 votes Please log in or register to add a comment.