Largest Number

题目

给定一个非负整数的列表,将它们排序之后首尾相连得到一个整数,返回可得的最大整数

Example 1:

Input: [10,2]
Output: “210”

Example 2:

Input: [3,30,34,5,9]
Output: “9534330”

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×