It is showing one test case wrong

you are not taking the input in the array.

still it is show i test case wrong

can you send me the updated code?

in line 9 instead of <, <= would come