随笔分类 -  C++

摘要:malloc的bug 阅读全文
posted @ 2022-10-25 00:58 PiaYie 阅读(2246) 评论(0) 推荐(0) 编辑
摘要:手写一个hash表 阅读全文
posted @ 2022-10-02 15:54 PiaYie 阅读(35) 评论(0) 推荐(0) 编辑
摘要:矩形面积,leetcode850【hard】的变体 阅读全文
posted @ 2022-08-27 23:31 PiaYie 阅读(20) 评论(0) 推荐(0) 编辑
摘要:关于回文字符串的题目 阅读全文
posted @ 2022-08-01 12:43 PiaYie 阅读(198) 评论(0) 推荐(0) 编辑
摘要:人生还是稍微有难度的,要有所准备,“加油”能解决的问题不多 阅读全文
posted @ 2022-07-27 09:29 PiaYie 阅读(83) 评论(0) 推荐(0) 编辑
摘要:队列与栈 阅读全文
posted @ 2022-02-24 14:55 PiaYie 阅读(69) 评论(0) 推荐(0) 编辑
摘要:关于此前出现过的题目,使用到了双链表解法 阅读全文
posted @ 2022-02-24 14:11 PiaYie 阅读(46) 评论(0) 推荐(0) 编辑
摘要:KMP, 字符串相关,字符串左旋,反转字符串中的单词,反转字符串,重复子串构成 阅读全文
posted @ 2022-02-18 14:35 PiaYie 阅读(68) 评论(0) 推荐(0) 编辑
摘要:hash表 阅读全文
posted @ 2022-02-09 22:17 PiaYie 阅读(84) 评论(0) 推荐(0) 编辑
摘要:C++链表,设计链表,反转链表,删除链表的倒数第n个节点,环形链表,两个链表求交 快慢指针 阅读全文
posted @ 2022-01-28 15:54 PiaYie 阅读(104) 评论(0) 推荐(0) 编辑
摘要:二分法,删除元素,双指针,滑动窗口,行为模拟 阅读全文
posted @ 2022-01-27 14:42 PiaYie 阅读(53) 评论(0) 推荐(0) 编辑
摘要:估计算法复杂度,计算机要跑1秒还是1年 阅读全文
posted @ 2021-12-29 18:07 PiaYie 阅读(103) 评论(0) 推荐(0) 编辑
摘要:c++:split(string,pattern) 阅读全文
posted @ 2021-10-27 21:33 PiaYie 阅读(70) 评论(0) 推荐(0) 编辑
摘要:c++和python 中的队列和双端队列 阅读全文
posted @ 2021-10-26 21:56 PiaYie 阅读(286) 评论(0) 推荐(0) 编辑
摘要:利用位运算提升算法效率的一些例子 阅读全文
posted @ 2021-10-18 11:59 PiaYie 阅读(50) 评论(0) 推荐(0) 编辑
摘要:mypow(x,n) 阅读全文
posted @ 2021-10-17 21:09 PiaYie 阅读(37) 评论(0) 推荐(0) 编辑
摘要:DFS:先序遍历、中序遍历、后序遍历 BFS:层序遍历 阅读全文
posted @ 2021-10-16 18:08 PiaYie 阅读(295) 评论(0) 推荐(0) 编辑
摘要:python中heapq堆的使用;c++中用priority_queue 阅读全文
posted @ 2021-10-14 17:01 PiaYie 阅读(383) 评论(0) 推荐(0) 编辑
摘要:遍历容器auto方法 阅读全文
posted @ 2021-07-06 16:58 PiaYie 阅读(409) 评论(0) 推荐(0) 编辑
摘要:详情请见:https://www.geeksforgeeks.org/map-associative-containers-the-c-standard-template-library-stl/ List of all functions of Map: map insert() in C++ S 阅读全文
posted @ 2021-07-06 10:12 PiaYie 阅读(69) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示