Cant pass 2 test cases!

Hello @haseebshaik00 please wait

hey @haseebshaik00 you are not printing the result in the sorted format .


check this .

still can’t pass 1 test case

hey @haseebshaik00 i have jsut checked the test case it is printing the correct output for that as well .but there is some other problem that is why your code is not passing test cases .
please wait .
Happy Learning !!

can u share me the correct code for referene

hey @haseebshaik00 please see 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.