Form biggest number

What is wrong with my code it is giving the desired output

hi @himanshuanand729 if u just sort the array u will get wrong ans
eg 10,100
your ans will be 10010 but ans is 10100
refer code : https://ide.codingblocks.com/s/661893

Ok Thanks I rectified this error in my code and now its working fine

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.