How to approach this problem?

form biggest number problem

Hi,
So this question seems tough and complex at first
but the main background just using customized sorting

that is can take input as string and
sort the string using customized sorting

ie return a+b > b+a;

for eg:
U Pass in string a as 9 and string b be as 50
so the comparator function compare
a+ b as 950
b+a as 509
return the one larger in value
so 950 will be returned.

Please try to code IN case of query please ask.

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.