what is wrong in the code. the answer is coming when it is compiledbut test cases are failing
hi @amishatinni_6d07a38b7467ac6d corrected and commented