can u explain by giving example of some more test cases. I am not able to understand properly.
I am giving an example please also consider that.
Suppose I have a number 5678 when we invert it, it gives 4321, will I print 4321 or 1234(it is sorted ).
Getting test cases wrong
1 Like
u have to print 4321
u can only replace a no. by 9-no.
u r not allowed to change their position.
hope this will help u
pls rate my work
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.