Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions algorithm/sort.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# sort

**Description :** This function is implemented as Quick-sort. The complexity of it is O(N*log(N)).
**Description :** This function is implemented using Intro-Sort (Insertion Sort + heap Sort + Quick Sort). The complexity of it is O(N*log(N)).

**Example** :

```cpp
void show(int a[]) {
for(int i = 0; i < 10; ++i)
std::cout << a[i] << " ";
std::cout << a[i] << ' ';
}

int main() {
Expand Down