diff --git a/docs/notes/pics/21550397584141.gif b/docs/notes/pics/21550397584141.gif new file mode 100644 index 00000000..df5c1792 Binary files /dev/null and b/docs/notes/pics/21550397584141.gif differ diff --git a/docs/notes/pics/31550398353573.gif b/docs/notes/pics/31550398353573.gif new file mode 100644 index 00000000..f9008efe Binary files /dev/null and b/docs/notes/pics/31550398353573.gif differ diff --git a/docs/notes/pics/51550399426594.gif b/docs/notes/pics/51550399426594.gif new file mode 100644 index 00000000..6e931791 Binary files /dev/null and b/docs/notes/pics/51550399426594.gif differ diff --git a/docs/notes/pics/731a5e8f-a2c2-43ff-b8dd-6aeb9fffbe26.jpg b/docs/notes/pics/731a5e8f-a2c2-43ff-b8dd-6aeb9fffbe26.jpg new file mode 100644 index 00000000..dda05f94 Binary files /dev/null and b/docs/notes/pics/731a5e8f-a2c2-43ff-b8dd-6aeb9fffbe26.jpg differ diff --git a/docs/notes/数据库系统原理.md b/docs/notes/数据库系统原理.md index 2c829837..c6f5437e 100644 --- a/docs/notes/数据库系统原理.md +++ b/docs/notes/数据库系统原理.md @@ -48,7 +48,7 @@ 事务指的是满足 ACID 特性的一组操作,可以通过 Commit 提交一个事务,也可以使用 Rollback 进行回滚。 -

+

## ACID diff --git a/docs/notes/算法.md b/docs/notes/算法.md index 76d66724..6347f608 100644 --- a/docs/notes/算法.md +++ b/docs/notes/算法.md @@ -294,7 +294,7 @@ public abstract class Sort> { 选择排序需要 \~N2/2 次比较和 \~N 次交换,它的运行时间与输入无关,这个特点使得它对一个已经排序的数组也需要这么多的比较和交换操作。 -

+

```java public class Selection> extends Sort { @@ -321,9 +321,7 @@ public class Selection> extends Sort { 在一轮循环中,如果没有发生交换,就说明数组已经是有序的,此时可以直接退出。 -以下演示了在一轮循环中,将最大的元素 5 上浮到最右侧。 - -

+

```java public class Bubble> extends Sort { @@ -359,7 +357,7 @@ public class Bubble> extends Sort { 以下演示了在一轮循环中,将元素 2 插入到左侧已经排序的数组中。 -

+

```java public class Insertion> extends Sort { diff --git a/docs/pics/21550397584141.gif b/docs/pics/21550397584141.gif new file mode 100644 index 00000000..df5c1792 Binary files /dev/null and b/docs/pics/21550397584141.gif differ diff --git a/docs/pics/31550398353573.gif b/docs/pics/31550398353573.gif new file mode 100644 index 00000000..f9008efe Binary files /dev/null and b/docs/pics/31550398353573.gif differ diff --git a/docs/pics/51550399426594.gif b/docs/pics/51550399426594.gif new file mode 100644 index 00000000..6e931791 Binary files /dev/null and b/docs/pics/51550399426594.gif differ diff --git a/docs/pics/731a5e8f-a2c2-43ff-b8dd-6aeb9fffbe26.jpg b/docs/pics/731a5e8f-a2c2-43ff-b8dd-6aeb9fffbe26.jpg new file mode 100644 index 00000000..dda05f94 Binary files /dev/null and b/docs/pics/731a5e8f-a2c2-43ff-b8dd-6aeb9fffbe26.jpg differ