Write a function or program that given a list of non negative integers, arranges them such that they form the largest possible number.
INPUT
[50, 2, 1, 9]
OUTPUT
95021
INPUT
0
OUTPUT
0
INPUT (Interesting one)
[7, 76]
OUTPUT
776
RULES
- standard loopholes apply.
- Depending on your language you can use
int(32)
/int(64)
or any other numeric datatype. (Please append the chosen type to your answer) - take a list as Input
- you choose the behavior on empty input
GL
[9,50,2,1]
for instance? \$\endgroup\$