05 2023 档案

摘要:https://leetcode.cn/problems/path-with-minimum-effort/solutions/1345046/er-fen-by-dvuszkq61y-6vr1/ ![image](https://img2023.cnblogs.com/blog/1569451/2 阅读全文
posted @ 2023-05-21 22:02 胖白白 阅读(6) 评论(0) 推荐(0) 编辑
摘要:贪心 找到贪心策略,使得:局部最优解-->整体最优解 刷题 252. 会议室(P) 253. 会议室 II (P) #define MAX 1000001 int minMeetingRooms(int** intervals, int intervalsSize, int* intervalsCo 阅读全文
posted @ 2023-05-13 17:52 胖白白 阅读(23) 评论(0) 推荐(0) 编辑
摘要:https://leetcode.cn/problems/range-sum-query-2d-immutable/ 前缀树和前缀和首先是两个东西 说在最前面,本文只是为了记录笔者的平时学习内容,故而希望通过联想方式把两者都掌握,前缀树和前缀和本质上是两个知识点,前者可以抽象为树结构,后者则一般用来 阅读全文
posted @ 2023-05-11 16:47 胖白白 阅读(46) 评论(0) 推荐(0) 编辑
摘要:目录python和c/c++中负数取模的差异内存接口判断大小端数组类二分搜索求数组最大值交换两个数在区间[left, right]中取随机数排序数组比较器——比较数组中的元素归并和快速排序打印数组hash表——UT_HASHbitmap操作 python和c/c++中负数取模的差异 // pytho 阅读全文
posted @ 2023-05-09 11:52 胖白白 阅读(42) 评论(0) 推荐(0) 编辑

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