上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 114 下一页
摘要: public class Solution { public IList<IList<int>> Generate(int numRows) { var list = new List<IList<int>>(); for (int i = 0; i < numRows; i++) { var ro 阅读全文
posted @ 2017-04-21 17:17 Sempron2800+ 阅读(113) 评论(0) 推荐(0) 编辑
摘要: public class Solution { public int[] PlusOne(int[] digits) { var last = digits[digits.Length - 1]; if (last + 1 < 10) { digits[digits.Length - 1]++; r 阅读全文
posted @ 2017-04-21 16:58 Sempron2800+ 阅读(117) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/valid-perfect-square/#/description 阅读全文
posted @ 2017-04-21 16:08 Sempron2800+ 阅读(108) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for a binary tree node. * public class TreeNode { * public int val; * public TreeNode left; * public TreeNode right; * public TreeNod 阅读全文
posted @ 2017-04-21 13:26 Sempron2800+ 阅读(225) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/reverse-vowels-of-a-string/#/description 阅读全文
posted @ 2017-04-21 10:06 Sempron2800+ 阅读(110) 评论(0) 推荐(0) 编辑
摘要: public class Solution { public int RemoveElement(int[] nums, int val) { var len = nums.Length; var count = 0; for (int i = 0; i < nums.Length; i++) { 阅读全文
posted @ 2017-04-21 09:53 Sempron2800+ 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/power-of-four/#/description 阅读全文
posted @ 2017-04-21 09:01 Sempron2800+ 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/house-robber/#/description /* 你是一个专业强盗,并计划沿街去盗窃每一个住户。每个房子都有一定量的现金,阻止你盗窃的唯一阻碍是相邻的两个房子之间有安全系统。一旦这两个房子同时被盗窃,系统就会自动联系警察。给定一系 阅读全文
posted @ 2017-04-20 16:09 Sempron2800+ 阅读(184) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/find-mode-in-binary-search-tree/#/description 阅读全文
posted @ 2017-04-20 15:31 Sempron2800+ 阅读(165) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/#/description 阅读全文
posted @ 2017-04-20 15:09 Sempron2800+ 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 114 下一页