Form biggest no

i understood tht we need to arrange the integers of array lexicogrsphically but how we will code this

@poojadas408
make an array of strings. (so you can store large numbers also)
sort the array using inbuilt sort function
use a custom compare function to take care of the corner case
print the sorted array

corner case:

600, 60

the answer in this case should be 60600 but if you sort directly, it will be 60060 so you need to modify the compare function to take care of this case

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.

Hey @poojadas408, how can I help you? As you have revoked your doubt.

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.

Hey @poojadas408


Refer to above

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.

hey
whats your doubt?