随笔分类 - data_structure
摘要:https://github.com/julienschmidt/httprouter/
阅读全文
摘要:B-Tree Visualization https://www.cs.usfca.edu/~galles/visualization/BTree.htmlB-trees https://www.cs.cornell.edu/courses/cs3110/2012sp/recitations/rec
阅读全文
摘要:提问: 1、倒排索引与传统数据库的索引相比优势? 2、在lucene中如果想做范围查找,根据上面的FST模型可以看出来,需要遍历FST找到包含这个range的一个点然后进入对应的倒排链,然后进行求并集操作。但是如果是数值类型,比如是浮点数,那么潜在的term可能会非常多,这样查询起来效率会很低,怎么
阅读全文
摘要:练习: 力扣 https://leetcode.cn/problems/partition-equal-subset-sum/solution/fen-ge-deng-he-zi-ji-by-leetcode-solution/ 416. 分割等和子集 给你一个 只包含正整数 的 非空 数组 num
阅读全文
摘要:用数组存储。 用数组的存储方式并不需要像链式存储法那样 要存储额外的左右子节点的指针。
阅读全文
摘要:{2: [1597892970, 1597892936], 4: [1597892953], 5: [1597892949], 6: [1597892966], 8: [1597892989, 1597892983, 1597892979, 1597892966, 1597892962, 15978
阅读全文
摘要:https://mp.weixin.qq.com/s/lLgeKMzT4Q938Ij0r75t8Q
阅读全文
摘要:跳跃表的实现 — Redis 设计与实现 http://redisbook.com/preview/skiplist/datastruct.html 有序集合 /* ZSETs use a specialized version of Skiplists */ /* * 跳跃表节点 */ typed
阅读全文
摘要:有序集合对象 — Redis 设计与实现 http://redisbook.com/preview/object/sorted_set.html /* ZSETs use a specialized version of Skiplists */ /* * 跳跃表节点 */ typedef stru
阅读全文
摘要:rehash — Redis 设计与实现 http://redisbook.com/preview/dict/rehashing.html
阅读全文
摘要:链表和链表节点的实现 — Redis 设计与实现 http://redisbook.com/preview/adlist/implementation.html
阅读全文
摘要:Hash Array Mapped Trie Python\hamt.c
阅读全文
摘要:https://mp.weixin.qq.com/s/qHJiTjpvDikFcdl9SRL97Q
阅读全文
摘要:Python - Algorithm Design - Tutorialspoint https://www.tutorialspoint.com/python_data_structure/python_algorithm_design.htm
阅读全文
摘要:https://softwareengineering.stackexchange.com/questions/113256/what-is-the-difference-between-btree-and-rtree-indexing 52 BTree BTree (in fact B*Tree)
阅读全文
摘要:https://en.wikipedia.org/wiki/Log-structured_merge-tree
阅读全文