Algorithm · LinkedIn · Medium
You are given a list of non-negative integers. Your task is to arrange them such that, when their decimal string representations are concatenated, the resulting number is as large as possible. Return this number as a string, because the value may exceed the range of any standard integer type. To determine the ordering, convert each integer to its decimal string. For any two strings x and y, prefer placing x before y if the concatenation $$x + y$$ is lexicographically larger…
Checking your access…