Running perfectly on given test case but giving run error on submission

hey, u will have to sort them using int value also… refer this code–>

1 Like

@tusharbajaj200153_02bc6c0c5583c81d
is there anything else?

no sir i understood thanks!

1 Like

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.