- 博客(14)
- 收藏
- 关注

原创 Why Learning Data Structures and Algorithms
I am a Double Degree Engineer in Architecture and Civil Engineering. I possess a proficient level of proficiency in using Grasshopper, which is a highly advanced and cutting-edge tool in the fields of Visual Design and parametric modeling.During my postgra
2025-01-01 21:15:51
781
原创 贪心和DP的区别是什么?
贪心算法可以看作DP在“局部最优性恒成立”时的特例,但大多数情况下,贪心策略无法保证全局最优(如非贪心选择性问题)。贪心是“短视但高效”的单向选择,DP是“全面但复杂”的系统穷举。:DP会系统地遍历所有可能的子问题(如通过状态转移方程),而贪心只选“当前最优”。:DP的状态转移可能依赖多个前驱状态(如背包问题),而贪心的选择是单向的。:贪心确实是局部最优推进,DP确实依赖子问题解(DAC+记忆化)。:通过递归分解问题,记录子问题的解(记忆化),避免重复计算。:DP能解决的问题更广泛,尤其是当问题需要。
2025-03-31 19:06:43
480
原创 LeetCode Top Interview 150 - Linked List
Alinkedlistisalineardatastructureconsistingofaseriesofnodes,whereeachnodecontainsdataandapointertothenextnode(inasinglylinkedlist)orbothpointerstothenextnodeandthepreviousnode(inadoublylinkedlist).
2025-01-18 17:52:34
1071
原创 LeetCode Top Interview 150 - Stack
Whenever you encounter problems that involve nested structures, require backtracking, or need to maintain a specific order of operations, consider using a stack as your primary data structure.
2025-01-13 20:19:56
1041
原创 LeetCode Top Interview 150 - Intervals
When tackling interval problems, several techniques can be particularly effective.
2025-01-10 14:06:19
1044
原创 LeetCode Top Interview 150 - Hashmap
In this chapter, there are several problems that are rather straightforward and possess numerous approaches. As a result, those questions have been omitted herein.
2025-01-09 20:58:04
471
原创 LeetCode Top Interview 150 - Matrix
This is merely my personal review of all the typical problems that constitute the mindset for Data Structures and Algorithms (DSA). python solution provided
2025-01-08 21:01:27
596
原创 Best open-source softwares on Windows platform
These are my favorite open-source softwares on the Windows platform.
2025-01-07 20:46:56
687
原创 LeetCode Top Interview 150 - Sliding Window
This is merely my personal review of all the typical problems that constitute the mindset for Data Structures and Algorithms (DSA). python solution provided
2025-01-07 15:10:22
861
原创 LeetCode Top Interview 150 - Two Pointers
This is merely my personal review of all the typical problems that constitute the mindset for Data Structures and Algorithms (DSA). python solution provided
2025-01-06 11:26:58
945
原创 LeetCode Top Interview 150 - Array and String
This is merely my personal review of all the typical problems that constitute the mindset for Data Structures and Algorithms (DSA). python solution provided
2025-01-04 10:10:24
1099
原创 Projects 2023
This is my personal archive for the projects I've done during 2023
2025-01-01 20:28:35
314
原创 Projects 2024
This is my personal archive for the projects I've done during 2024.
2025-01-01 20:20:45
281
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人