摘要: https://leetcode.com/problems/arranging-coins/#/description 阅读全文
posted @ 2017-04-21 22:05 Sempron2800+ 阅读(78) 评论(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 19:21 Sempron2800+ 阅读(112) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/binary-tree-paths/#/description 阅读全文
posted @ 2017-04-21 17:50 Sempron2800+ 阅读(130) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/number-of-segments-in-a-string/#/description 阅读全文
posted @ 2017-04-21 17:29 Sempron2800+ 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑