LeetCode 0179 - Largest Number
Contents
Largest Number
Desicription
Given a list of non negative integers, arrange them such that they form the largest number.
Example 1:
1 | Input: [10,2] |
Example 2:
1 | Input: [3,30,34,5,9] |
Note: The result may be very large, so you need to return a string instead of an integer.
Solution
1 | class Solution { |