didn’t understand exactly what to find , please explain it with two 3 test cases
Increasing and decreasing sequence
Hi @vikashkmr519,
Here you want to find the maximum number that can be formed by joining the numbers as string.
for example - 56,605,31,40 we can form a number ‘605’+‘56’+‘40’+‘31’ = 605564031.
Other test case - 304 , 9 , 102, 451, 780, 240 we can form ‘9’ + ‘780’ + ‘451’ + ‘304’ + ‘240’ + ‘102’ = 9780451304240102,