
分情况
文章平均质量分 75
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 179. Largest Number(最大数)
原题网址:https://leetcode.com/problems/largest-number/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原创 2016-05-25 01:36:20 · 1924 阅读 · 0 评论 -
LeetCode 161. One Edit Distance(编辑距离)
原题网址:https://leetcode.com/problems/one-edit-distance/Given two strings S and T, determine if they are both one edit distance apart.方法:两个字符串长度最多相差1,或者最多只有一个字符不同。public class Solution { publ原创 2016-05-25 01:40:56 · 1162 阅读 · 0 评论