Largest Number

medium
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.

Input Format

Input is managed for you

Output Format

Output is managed for you

Constraints

1 <= nums.length <= 100
0 <= nums[i] <= 10^9

Notice

Try First, Check Solution later

1. You should first read the question and watch the question video.
2. Think of a solution approach, then try and submit the question on editor tab.
3. We strongly advise you to watch the solution video for prescribed approach.

Example

Input
5
3 30 34 5 9
Output
9534330
Previous
Maximum Number Of 1's Row

Related Questions