- 博客(3)
- 收藏
- 关注
原创 20240918
1. B-tree:expanding the width(merging nodes in BTS) and decresing the height to lower the time of putting individual layer from the disk to the ram.search:only select a part of the tree to the ram, and cuz the tree is evolved from BTS, so we can view it as
2024-09-18 22:14:02 25
原创 20240917learning summary
So...Today is the last day of the mid-autumn festival, just the day before the term begins, and I go to the library to fix my mental status so as to adapt to the tense environment of skd. I am writing this summary cauze I want to parctice English writing s
2024-09-17 15:45:40 235
原创 20240913 算法笔记复习
利用双指针法的关键是直接考虑将找到的target用后面不是target的值附上去。slow指针就像是在端盘子等着fast指针给他递东西,fast指针遇到target就往后跳。主要是很难想到相遇时的等量关系以及用index再模拟一次相遇来求出最后的起点。:一定要注意这是个循环的动作所以是while(),直到逼近一个值,如果这个值不是的话那就直接return-1.每次迭代删完元素了,cur->next 也就更新了,不是用for循环,而是用while。每转过一圈,其实点位变化,边长变化。特殊情况是n为奇数。
2024-09-13 21:16:12 197
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人