mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-06 12:44:19 +00:00
Use underline format for the technical terms (#1213)
* Use underline format for the technical terms * Bug fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 快速排序
|
||||
|
||||
「快速排序 quick sort」是一种基于分治策略的排序算法,运行高效,应用广泛。
|
||||
<u>快速排序(quick sort)</u>是一种基于分治策略的排序算法,运行高效,应用广泛。
|
||||
|
||||
快速排序的核心操作是“哨兵划分”,其目标是:选择数组中的某个元素作为“基准数”,将所有小于基准数的元素移到其左侧,而大于基准数的元素移到其右侧。具体来说,哨兵划分的流程如下图所示。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user