上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 提交结果:内存超100%,用时超69% /** * Definition for a binary tree node. * str... 阅读全文
posted @ 2020-05-13 10:06 clienter 阅读(71) 评论(0) 推荐(0)
摘要: 还是用回溯法暴力解题,遍历所有可能,不过还是在此基础上进行了一些的优化,来阻止那些不必要的遍历。好,上代码。 class Sol... 阅读全文
posted @ 2020-05-12 16:29 clienter 阅读(84) 评论(0) 推荐(0)
摘要: 位运算 class Solution {public: vector> subsets(vector& nums) { ... 阅读全文
posted @ 2020-05-12 15:36 clienter 阅读(70) 评论(0) 推荐(0)
摘要: class Solution {public: vector> subsetsWithDup(vector& nums) { ... 阅读全文
posted @ 2020-05-12 15:33 clienter 阅读(81) 评论(0) 推荐(0)
摘要: 回溯法本身是种暴力解法,虽然效率之类的比较低,但是写起来比较易懂和快。在提交之后的排名也挺低的,大概就超过8%左右。以后复习的时候再... 阅读全文
posted @ 2020-05-12 15:26 clienter 阅读(76) 评论(0) 推荐(0)
摘要: Vue.js教程 2.体验Vue Document {{ msg2 ? '这是ok' ... 阅读全文
posted @ 2020-05-08 16:16 clienter 阅读(69) 评论(0) 推荐(0)
摘要: Vue.js教程 1.前端框架学习介绍 什么是Vue.js为什么要学习流行框架 什么是Vue.js Vue.js 是目前最火的一个... 阅读全文
posted @ 2020-05-08 11:25 clienter 阅读(129) 评论(0) 推荐(0)
摘要: PTA 7-3 Windows消息队列 (25分) 消息队列是Windows系统的基础。对于每个进程,系统维护一个消息队列。如果在进... 阅读全文
posted @ 2020-05-06 16:33 clienter 阅读(170) 评论(0) 推荐(0)
摘要: PTA 7-2 哈夫曼编码 (30分) 给定一段文字,如果我们统计出字母出现的频率,是可以根据哈夫曼算法给出一套编码,使得用此编码压... 阅读全文
posted @ 2020-05-06 15:55 clienter 阅读(1793) 评论(0) 推荐(0)
摘要: PTA 最小堆插入元素和删除堆顶(无哨兵元素) (20分) 对于给定的最小堆(优先队列),分别实现插入元素和删除堆顶的函数。 函数接... 阅读全文
posted @ 2020-05-02 15:51 clienter 阅读(260) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页