Can anyone help me to solve a program. i.e. Form a largest possible integer x by concatenating n integers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone help me to solve a program. i.e. Form a largest possible integer x by concatenating n integers

Sample input 1 : 4 12 19 546 60 Output : 605461912 Sample input 2 : 5 678 92 623 779 12 Output : 9277967862312

15th May 2020, 5:47 AM
KARTHIK K
KARTHIK K - avatar
1 Answer
+ 2
First storing user input in list Than sort list in desending order And simply print it https://code.sololearn.com/cz8Vu52Yb2G3/?ref=app
15th May 2020, 6:02 AM
Muhammad Bilal
Muhammad Bilal - avatar