This code is giving correct answer but not passing any test cases

Check now