All testcases are getting fail

here is the link

hello @shdanish1508
all test cases are failing because u are not taking input in required format.
also use array in place of string.
image

Instead of entering the string i have to entered the number

wait i m sending u the corrected code

refer this

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.