Form Biggest number


Please tell why none of my test cases is being passes

@Tushar-Goel-1587999611286693
Consider a case:
1
2
98 9

Expected O/p:
998

Your O/p:
989

The custom compare function must be something like this:
bool mycompare(string a,string b)
{
string ab=a+b;
string ba=b+a;
return ab>ba;
}

Got it, Thanks a lot

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.