ONE TEST CASE FAILING
Sure. No worries!! I will wait.
@lakshay2311 in the main() function you called the function like
if(isHeightBalancedOptimised)
it should be like if(isHeightBalancedOptimised(root).balance)
Got it. Thanks
1 Like