2 test cases are failing
hello @bhaskar0_0
check ur code for input ->
999
output should be 900 (because leading 0’s are not allowed).
but urs is giving 0.
for n->8 output should be 1 .
urs will give 8.
remove that if statement (at the very top)