Not a single hit

may you tell me how to do it

Hey @ashish_arora369, do you want me to explain how to approach this problem statement or tell you what this problem statement means?

i want you to explain how to approach this problem

Hey @ashish_arora369 I have elaborated you the problem as much as possible


Moreover if you still find it difficult, here’s the code For the same https://ide.codingblocks.com/s/330610, but i’ll suggest you not to watch it before understanding the question.
Thank You :smile:

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.

so i have to take input as string or integer

and if i take 60 and 546 1st then it become 60546 and then 548 then it become 60546548 which is less than 60548546

hello @ashish_arora369

it will depend on what sorting algorithm we are using.
also only position of strings in array will change (i.e they dont get concatenate.)

refer this->

here we are using our own comparator to compare two strings i,e which one should come first and which one after.

read it as string , it will be easy to manage

@aman212yadav I would suggest not to take doubts that have been acknowledged by another mentor . Peace

@mr.encoder
he has reopened the doubt.
and anyone can take reopened doubt

If that’s the case , no issues :grinning:

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.