Why Its not passing a test case ..I have used the same logic as given in the Hint Video

Why Its not passing a test case …I have used the same logic as given in the Hint Video.?
Pls Explain

@gvspraveen113 the inputs you are given are of type int, not char so make the array accordingly.

@gvspraveen113 please mark your doubt as resolved :slight_smile:

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.