# Leetcode 179 - Largest number

Note:

• Sort each number based on the first str into their bucket.
• Then sort each bucket based on who shold be put at the head.
• Check if the result only consists of 0s. Return 0.

Question:

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:

Code: