AI Features

Arrange the Largest Number

Given an array of integers, find the arrangement that yields the largest number.

Statement

Given an array of integers, find the largest number that can be made by creating all possible permutations of these integers.

As the largest number formed can be very large, Return a string instead of an integer.

Example

Let’s suppose an array with two numbers [3,21][3, 21].

We can only create two permutations with these two numbers and the largest number formed is 321321 ...

Ask