Git Product home page Git Product logo

Comments (10)

yandaguodong avatar yandaguodong commented on June 26, 2024

我也是第一次听到跳表这种操作,真是太厉害了,先对二叉树来说,更容易理解。
加油

from algorithm007-class02.

hongyangliao avatar hongyangliao commented on June 26, 2024

不过跳表需要每个节点需要四个指针,还是比较消耗空间的

from algorithm007-class02.

jeff-liu14 avatar jeff-liu14 commented on June 26, 2024

还是不太清楚每隔N个元素,这个N的具体值是怎么去平衡的

from algorithm007-class02.

Gzyequan avatar Gzyequan commented on June 26, 2024

我感觉跳表真是很神奇,实现起来还挺麻烦的,但是了解清楚跳表对理解Redis很有帮助,加油,共勉

from algorithm007-class02.

zhenzhenyang avatar zhenzhenyang commented on June 26, 2024

不知道有没有简单版的实现demo

from algorithm007-class02.

h310558606 avatar h310558606 commented on June 26, 2024

感觉实际工程代码中没有用过跳表

from algorithm007-class02.

shadow-frank avatar shadow-frank commented on June 26, 2024

跳表的平衡还没明白怎么做到的,平衡树好像是用旋转的,老是觉得这种为维护平衡花费的代价挺大的,我还得继续学习。

from algorithm007-class02.

Z-Clark avatar Z-Clark commented on June 26, 2024

升维视角,降维编程,哈哈哈!

from algorithm007-class02.

xuguangyi avatar xuguangyi commented on June 26, 2024

在TSDB中的timestamp可使用skiplist优化加速range操作

from algorithm007-class02.

D9night avatar D9night commented on June 26, 2024

跳表感觉就是建立链表的索引,所需额外的空间为n/2, n/4, n/8....1~ n;额外构造数组保存结点,结点对象实现Compare;
查询的时候从上层数组到下层数组查询;
我的难点在于插入和删除的时候,如何动态的规划索引,例如达到一个上下阀值取更新额外的数组中结点数据。

from algorithm007-class02.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.