Skip to content

Commit 5e3c9b8

Browse files
committed
[docs update]sql面试题同步到网站
1 parent 0b2f8bd commit 5e3c9b8

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

docs/.vuepress/sidebar/index.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default sidebar({
9292
"linkedhashmap-source-code",
9393
"copyonwritearraylist-source-code",
9494
"arrayblockingqueue-source-code",
95-
"priorityqueue-source-code"
95+
"priorityqueue-source-code",
9696
],
9797
},
9898
],
@@ -263,7 +263,14 @@ export default sidebar({
263263
icon: "SQL",
264264
prefix: "sql/",
265265
collapsible: true,
266-
children: ["sql-syntax-summary", "sql-questions-01"],
266+
children: [
267+
"sql-syntax-summary",
268+
"sql-questions-01",
269+
"sql-questions-02",
270+
"sql-questions-03",
271+
"sql-questions-04",
272+
"sql-questions-05"
273+
],
267274
},
268275
],
269276
},

docs/database/sql/sql-questions-01.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: SQL常见面试题总结
2+
title: SQL常见面试题总结(1)
33
category: 数据库
44
tag:
55
- 数据库基础

docs/java/collection/hashmap-source-code.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ HashMap 只提供了 put 用于添加元素,putVal 方法只是给 put 方法
262262
1. 如果定位到的数组位置没有元素 就直接插入。
263263
2. 如果定位到的数组位置有元素就和要插入的 key 比较,如果 key 相同就直接覆盖,如果 key 不相同,就判断 p 是否是一个树节点,如果是就调用`e = ((TreeNode<K,V>)p).putTreeVal(this, tab, hash, key, value)`将元素添加进入。如果不是就遍历链表插入(插入的是链表尾部)。
264264

265-
![ ](https://qingcheng-davin.oss-cn-shenzhen.aliyuncs.com/put.png)
265+
![ ](https://oss.javaguide.cn/github/javaguide/database/sql/put.png)
266266

267267

268268
```java

0 commit comments

Comments
 (0)