上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 114 下一页
摘要: public class Solution { public string IntToRoman(int num) { string[] M = { "", "M", "MM", "MMM" }; string[] C = { "", "C", "CC", "CCC", "CD", "D", "DC 阅读全文
posted @ 2017-05-13 13:57 Sempron2800+ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/#/description 补充一个多次使用二分查找的解决方案: 阅读全文
posted @ 2017-05-13 11:42 Sempron2800+ 阅读(216) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/binary-tree-preorder-traversal/#/description 阅读全文
posted @ 2017-05-13 11:36 Sempron2800+ 阅读(125) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/is-subsequence/#/description 阅读全文
posted @ 2017-05-13 11:32 Sempron2800+ 阅读(102) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/predict-the-winner/#/description 阅读全文
posted @ 2017-05-12 17:35 Sempron2800+ 阅读(151) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/magical-string/#/description 阅读全文
posted @ 2017-05-11 15:58 Sempron2800+ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 二叉树的中序遍历。 补充python版本实现: 阅读全文
posted @ 2017-05-11 12:14 Sempron2800+ 阅读(192) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/integer-break/#/description 这道题的解题思路是,从2到n/2每个值依次进行尝试,对于每一个值,计算这种情况下的因子乘积, 如果是可以被整除,则计算当前值的“倍数的次方”;如果不能被整除,则分两种情况分别计算。 第 阅读全文
posted @ 2017-05-11 12:07 Sempron2800+ 阅读(212) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/4sum-ii/#/description 补充一个python的版本: 阅读全文
posted @ 2017-05-11 11:47 Sempron2800+ 阅读(172) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/minimum-time-difference/#/description 阅读全文
posted @ 2017-05-11 10:59 Sempron2800+ 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 114 下一页