6 kyu

I love big nums and I cannot lie

428 of 823joh_pot

Description:

Write a function that given an array of numbers >= 0, will arrange them such that they form the biggest number.

For example:

[1, 2, 3] --> "321" (3-2-1)
[3, 30, 34, 5, 9] --> "9534330" (9-5-34-3-30)

The results will be large so make sure to return a string.

Strings
Arrays
Algorithms

Stats:

CreatedOct 5, 2015
PublishedOct 5, 2015
Warriors Trained3163
Total Skips139
Total Code Submissions9045
Total Times Completed823
JavaScript Completions428
C# Completions99
Ruby Completions53
Python Completions222
CoffeeScript Completions9
C++ Completions65
Total Stars97
% of votes with a positive feedback rating91% of 163
Total "Very Satisfied" Votes140
Total "Somewhat Satisfied" Votes16
Total "Not Satisfied" Votes6
Ad
Contributors
  • joh_pot Avatar
  • g964 Avatar
  • Unnamed Avatar
  • myjinxin2015 Avatar
  • alexa-y Avatar
  • FArekkusu Avatar
  • sazzadshopno Avatar
  • hobovsky Avatar
  • ejini战神 Avatar
  • Just4FunCoder Avatar
Ad