This commit is contained in:
ranwenjie
2021-03-31 10:39:44 +08:00
parent aae6f5131d
commit 4f781839e5
3 changed files with 28 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
# B+树
+14
View File
@@ -0,0 +1,14 @@
# 红黑树 (red-black tree)
### 应用场景
java 中 HashMap 的底层实现,当HashMap中元素大于8个时,HashMap底层存储实现改为红黑树,以提高元素搜索速度。
关于 HashMap 实现解析参考 [这里](.../Hash Table/HashMap in Java.md)
+13
View File
@@ -0,0 +1,13 @@
# 反向索引
### 应用场景
* ES
* 推荐内容召回
* mysql中的索引实现
通常使用 B+ 树实现。