Comments (10)
我也是第一次听到跳表这种操作,真是太厉害了,先对二叉树来说,更容易理解。
加油
from algorithm007-class02.
不过跳表需要每个节点需要四个指针,还是比较消耗空间的
from algorithm007-class02.
还是不太清楚每隔N个元素,这个N的具体值是怎么去平衡的
from algorithm007-class02.
我感觉跳表真是很神奇,实现起来还挺麻烦的,但是了解清楚跳表对理解Redis很有帮助,加油,共勉
from algorithm007-class02.
不知道有没有简单版的实现demo
from algorithm007-class02.
感觉实际工程代码中没有用过跳表
from algorithm007-class02.
跳表的平衡还没明白怎么做到的,平衡树好像是用旋转的,老是觉得这种为维护平衡花费的代价挺大的,我还得继续学习。
from algorithm007-class02.
升维视角,降维编程,哈哈哈!
from algorithm007-class02.
在TSDB中的timestamp可使用skiplist优化加速range操作
from algorithm007-class02.
跳表感觉就是建立链表的索引,所需额外的空间为n/2, n/4, n/8....1~ n;额外构造数组保存结点,结点对象实现Compare;
查询的时候从上层数组到下层数组查询;
我的难点在于插入和删除的时候,如何动态的规划索引,例如达到一个上下阀值取更新额外的数组中结点数据。
from algorithm007-class02.
Related Issues (20)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algorithm007-class02.