Test cases are wrong


in this question i am getting correct output but all the test cases are wrong please resolve the error in the code

Hi @ketushubham098
You have shared the wrong code in the link please share correct code so that i can help you.