Form biggest number doubt

sir i tried sorting element in lexicographically decreasing order considering elements as string
.if i am wrong, then please tell me how to arrange them in lexicographically decreasing order

just do (Return string1+string2>string2+string1) in your comparator function.
Try to do dry run of
2
49 492, and tell me the output for the same.

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.