上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页
摘要: 题目链接: https://leetcode-cn.com/problems/distinct-subsequences/submissions/ 思路: 一道dp的题 状态转移方程为: if (s[j] == t[i])dp[i][j] = dp[i-1][j-1] = dp[i][j-1] // 阅读全文
posted @ 2020-03-19 17:57 醉生梦死_0423 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/e02fdb54d7524710a7d664d082bb7811?tpId=13&tqId=11193&tPage=2&rp=2&ru=%2Fta%2Fcoding-interviews&qru=%2Fta%2Fcodi 阅读全文
posted @ 2020-03-14 17:24 醉生梦死_0423 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/1c82e8cf713b4bbeb2a5b31cf5b0417c?tpId=13&tqId=11187&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/qu 阅读全文
posted @ 2020-03-13 10:47 醉生梦死_0423 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://www.nowcoder.com/practice/459bd355da1549fa8a49e350bf3df484?tpId=13&tqId=11183&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interv 阅读全文
posted @ 2020-03-11 20:44 醉生梦死_0423 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/947f6eb80d944a84850b0538bf0ec3a5?tpId=13&tqId=11179&tPage=2&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-inter 阅读全文
posted @ 2020-03-10 12:03 醉生梦死_0423 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 这个时候,多半把中文注释去掉就ok了 别问我经历了什么…… (另,猜测原因是中文在编码的时候转换成对应编码的时候组合成了奇奇怪怪的关键字,导致编译出错,所以,换字符集也是一种解决方法——但是麻烦……所以,直接删掉注释就好) 阅读全文
posted @ 2020-03-09 20:42 醉生梦死_0423 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/b736e784e3e34731af99065031301bca?tpId=13&tqId=11177&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/qu 阅读全文
posted @ 2020-03-09 12:23 醉生梦死_0423 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/d77d11405cc7470d82554cb392585106?tpId=13&tqId=11174&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/qu 阅读全文
posted @ 2020-03-08 10:34 醉生梦死_0423 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/9b4c81a02cd34f76be2659fa0d54342a?tpId=13&tqId=11172&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/qu 阅读全文
posted @ 2020-03-07 22:08 醉生梦死_0423 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/practice/6e196c44c7004d15b1610b9afca8bd88?tpId=13&tqId=11170&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/qu 阅读全文
posted @ 2020-03-07 20:58 醉生梦死_0423 阅读(167) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页