Skip to content

Files

Latest commit

a0c96df · May 28, 2019

History

History

p179

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 28, 2019
May 28, 2019

179. Largest Number

Given a list of non negative integers, arrange them such that they form the largest number.

Example 1:

Input: [10,2]
Output: "210"

Example 2:

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

Note: The result may be very large, so you need to return a string instead of an integer.