Closed Sudhi27Krishna closed 1 year ago
Earlier the code was giving height as 3 for tree with 1000, which is wrong as the answer should be 9 ( Floor of log(1000) base 2 will be 9 )
Earlier the code was giving height as 3 for tree with 1000, which is wrong as the answer should be 9 ( Floor of log(1000) base 2 will be 9 )