hard20 pts · first answer countssorting-and-searching
Largest number formed from an array
You arrange [3, 30, 34, 5, 9] to form the largest possible number, sorting with the rule "a before b if a+b > b+a" as strings. What is the result?
Discussion 0
Join free to post in the discussion.
Related questions
- Bubble sort best case with early exitBackend Developer
- What a stable sort meansBackend Developer
- Merge sort time in every caseBackend Developer
- Best simple sort for nearly sorted dataBackend Developer
- Swaps made by selection sortBackend Developer
- What in-place sorting meansBackend Developer
- Quick sort worst-case timeBackend Developer
- JavaScript default sort on numbersBackend Developer