Find Largest Number formed from an Array [PayTm , Amazon]

Problem:A list of non negative integers will be provided, arrange the numbers in such a way that they form the largest number possible.

Example:

From a list : 9 30 31 4 10 ; Largest number formed : 94313010.

Link

 

 

Comments are closed.