上一页 1 2 3 4 5 6 7 ··· 28 下一页
摘要: 链接:https://leetcode-cn.com/problems/word-break-ii/ 代码 /* * @lc app=leetcode.cn id=140 lang=cpp * * [140] 单词拆分 II */ // @lc code=start class Solution { 阅读全文
posted @ 2020-08-04 09:39 景云ⁿ 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/word-break/ 代码 /* * @lc app=leetcode.cn id=139 lang=cpp * * [139] 单词拆分 */ // @lc code=start class Solution { publi 阅读全文
posted @ 2020-08-03 22:51 景云ⁿ 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/copy-list-with-random-pointer/ 代码 /* * @lc app=leetcode.cn id=138 lang=cpp * * [138] 复制带随机指针的链表 */ // @lc code=sta 阅读全文
posted @ 2020-08-01 19:42 景云ⁿ 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/single-number-ii/ 代码 /* * @lc app=leetcode.cn id=137 lang=cpp * * [137] 只出现一次的数字 II */ // @lc code=start class Sol 阅读全文
posted @ 2020-08-01 17:12 景云ⁿ 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/single-number/ 代码 /* * @lc app=leetcode.cn id=136 lang=cpp * * [136] 只出现一次的数字 * x ^ x = 0 */ // @lc code=start cla 阅读全文
posted @ 2020-08-01 17:10 景云ⁿ 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/candy/ 代码 /* * @lc app=leetcode.cn id=135 lang=cpp * * [135] 分发糖果 */ // @lc code=start class Solution { public: ve 阅读全文
posted @ 2020-08-01 14:56 景云ⁿ 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/gas-station/ 代码 /* * @lc app=leetcode.cn id=134 lang=cpp * * [134] 加油站 */ // @lc code=start class Solution { publi 阅读全文
posted @ 2020-08-01 14:44 景云ⁿ 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/clone-graph/ 代码 /* * @lc app=leetcode.cn id=133 lang=cpp * * [133] 克隆图 * 1、复制所有点 * 2、复制所有边 */ // @lc code=start /* 阅读全文
posted @ 2020-07-30 22:15 景云ⁿ 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/palindrome-partitioning-ii/ 代码 /* * @lc app=leetcode.cn id=132 lang=cpp * * [132] 分割回文串 II * dp: s[1-i]的所有分割方案最小化 阅读全文
posted @ 2020-07-30 22:04 景云ⁿ 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/palindrome-partitioning/ 代码 /* * @lc app=leetcode.cn id=131 lang=cpp * * [131] 分割回文串 */ // @lc code=start class So 阅读全文
posted @ 2020-07-30 21:50 景云ⁿ 阅读(58) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 28 下一页