Not able to get logic

can you help me to understand what to do in this ques

You have to form the largest possible number by combining the elements from the array. 1st intuition should be to sort the elements and combine them in decreasing order. But that would not always work. Think about what cases it won’t work for and if you’re not able to come up with anything I’ll give you some hints.

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.