is the code that i have i summited but it is unable to pass the test cases please help.
Test cases not passing
@Siddharth6780 I have corrected your code. Try to see the possible cases and then remove the redundant cases for simplicity.
if you cannot get it, please comment.