FORM BIGGEST NUMBER

HOW TO APPROACH THIS PROBLEM???
I’M NOT ABLE TO SOLVE.

refer this for hint :- Correct logic to solve it

In case of any doubt feel free to ask :slight_smile:

https://ide.codingblocks.com/s/294756 , bhaiya ek baar code check krna , output same hai lekin test cases ni chal rhe

at line 9, it should be string BA=b.append(a); instead of string BA=b.append(b);
corrected code :-