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

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.