One test case is not passing

plz check the code i think its correct

Hello @mohitsingh i have corrected your code and now it is passing all the test cases:
i have commented the mistake:


if you have any doubt you can ask here:
Happy Learning!!