👑👑CHALLENGE👑👑 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

👑👑CHALLENGE👑👑

given an array by an user u have to make a maximum that can be formed from it For ex input 9,13,5,6 output 96513 input 5 123 321 4 1 output 543211231 last and little bit confusing input 3 12 13 4 output 431312 all languages are welcome

25th Jan 2018, 4:34 PM
Arun
11 Answers
+ 5
I have been trying to get a better solution than my original python post, but other obligations and Python’s natural behavior of max got in my way. https://code.sololearn.com/c2N6wV82VO4P/?ref=app
4th Feb 2018, 8:53 PM
SQrL
SQrL - avatar
27th Jan 2018, 5:56 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
Sort the array based on the largest number, in case one of them has two or more digits, just take in count the first digit of that number. 😀
25th Jan 2018, 4:54 PM
Fabio
28th Jan 2018, 1:53 AM
SQrL
SQrL - avatar
25th Jan 2018, 7:36 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 4
https://code.sololearn.com/c6jfedGoyQ2O/?ref=app
27th Jan 2018, 1:33 PM
Arun
25th Jan 2018, 8:19 PM
Germain F
Germain F - avatar
+ 3
boo? 😂
14th Apr 2018, 9:46 PM
John James 1st
John James 1st - avatar
20th Feb 2018, 1:49 PM
Chob
Chob - avatar
+ 1
what that mean!
20th Feb 2018, 11:13 AM
Arun
0
can i be ur boo
20th Feb 2018, 10:58 AM
sausy bean
sausy bean - avatar