Anishluke92 / RubySolution

Problem solving using Ruby programming language
0 stars 1 forks source link

Join numbers to create largest number #77

Open danielpaul opened 3 years ago

danielpaul commented 3 years ago

This problem was asked by Twitter.

Given a list of numbers, create an algorithm that arranges them in order to form the largest possible integer. For example, given [10, 7, 76, 415], you should return 77641510.