Search
⌘K

Leetcode 179. Largest Number

Arrange the numbers to form the largest possible concatenated value by treating them as strings and ordering them with a custom comparator that places a before b if the concatenation ab > ba; return "0" if the result is all zeros.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.