179. Largest Number
https://leetcode.com/problems/largest-number/
Problem
Given a list of non-negative integers nums
, arrange them such that they form the largest number.
Note: The result may be very large, so you need to return a string instead of an integer.
Example 1:
Example 2:
Example 3:
Example 4:
Constraints:
1 <= nums.length <= 100
0 <= nums[i] <= 109
Solution
#math
Last updated
Was this helpful?