0 votes 0 votes I am getting 5 as output, but the answer is 4, please verify DS made-easy-test-series binary-search-tree + – Overflow04 asked Oct 2, 2022 • recategorized Sep 17, 2023 by Hira Thakur Overflow04 365 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes I’m also getting answer 5, as in last step of recursion tree lv = 4 and rv = 3 , so max of them is lv and the value returned by it is 5. Philosophical_Virus answered Oct 2, 2022 Philosophical_Virus comment Share Follow See 1 comment See all 1 1 comment reply Overflow04 commented Oct 2, 2022 reply Follow Share thanks for the confirmation ,test series answer is wrong(I guess). 1 votes 1 votes Please log in or register to add a comment.