Question 1:Largest Number in Java
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. (Note: The result may be very large, so you need to return a string instead of an integer.)
http://www.programcreek.com/2014/02/leetcode-largest-number-java/
Questions:
http://www.practice.geeksforgeeks.org/tag-page.php?tag=sorting&isCmp=0
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. (Note: The result may be very large, so you need to return a string instead of an integer.)
http://www.programcreek.com/2014/02/leetcode-largest-number-java/
Questions:
http://www.practice.geeksforgeeks.org/tag-page.php?tag=sorting&isCmp=0
No comments:
Post a Comment