LIKE CODING
Sunday, February 8, 2015
LeetCode [179] Largest Number
Note:
method1, compare numbers, use
long long
to handle the overflow
method2, compare strings.
Ref
[1]
https://leetcode.com/problems/largest-number/
OJ
[2]
https://oj.leetcode.com/discuss/22709/python-simple-solution-in-4-lines
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment