My code is not passing all the test cases
please correct it
Is Balanced problem
hello @Megha2468
u r not updating ur height inside this if statement.
add statement to update height inside this if statement.
and then try
My code is not passing all the test cases
please correct it
hello @Megha2468
add statement to update height inside this if statement.
and then try