上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 114 下一页
摘要: 1 public class Solution 2 { 3 public int LengthOfLongestSubstring(string s) 4 { 5 var dic = new Dictionary<char, int>(); 6 var maxLength = 0; 7 for (i 阅读全文
posted @ 2017-05-03 22:07 Sempron2800+ 阅读(416) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/add-two-numbers/#/description 补充python实现: 阅读全文
posted @ 2017-05-03 16:57 Sempron2800+ 阅读(594) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/teemo-attacking/#/description 阅读全文
posted @ 2017-05-03 10:30 Sempron2800+ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/most-frequent-subtree-sum/#/description 阅读全文
posted @ 2017-05-03 09:39 Sempron2800+ 阅读(170) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for a binary tree node. * public class TreeNode { * public int val; * public TreeNode left; * public TreeNode right; * public TreeNod 阅读全文
posted @ 2017-05-02 21:05 Sempron2800+ 阅读(223) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/optimal-division/#/description 阅读全文
posted @ 2017-05-02 17:54 Sempron2800+ 阅读(151) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-all-duplicates-in-an-array/#/description 阅读全文
posted @ 2017-05-02 17:24 Sempron2800+ 阅读(91) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-largest-value-in-each-tree-row/#/description 阅读全文
posted @ 2017-05-02 13:55 Sempron2800+ 阅读(126) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/beautiful-arrangement/#/description 阅读全文
posted @ 2017-05-02 13:38 Sempron2800+ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/queue-reconstruction-by-height/#/description 上面这个写的够长的了,用python,4行就可以实现: 先按照第一个元素倒序排,再按照第二个元素正序排,然后用insert方法,在指定的index上插 阅读全文
posted @ 2017-05-01 20:27 Sempron2800+ 阅读(220) 评论(0) 推荐(0) 编辑
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 114 下一页