49 lines
No EOL
1 KiB
Text
49 lines
No EOL
1 KiB
Text
---
|
|
id: sorting-methods
|
|
title: "Sorting Methods"
|
|
author: Nathan Chen
|
|
description: Describing fast sorting methods
|
|
prerequisites:
|
|
- Bronze - Introduction to Data Structures
|
|
frequency: 1
|
|
---
|
|
|
|
import { Problem } from "../models";
|
|
|
|
export const metadata = {
|
|
problems: {
|
|
bubble: [
|
|
new Problem("Silver", "Out of Sorts", "834", "Very Hard", false, []),
|
|
],
|
|
}
|
|
};
|
|
|
|
<resources>
|
|
<resource source="CPH" title="3.1 - Sorting Theory" starred>types of sorting</resource>
|
|
</resources>
|
|
|
|
<br />
|
|
|
|
(why are these important?)
|
|
|
|
<IncompleteSection />
|
|
|
|
There are many sorting algorithms, here are some sources to learn about the popular ones:
|
|
|
|
## Bubble Sort
|
|
|
|
<problems-list problems={metadata.problems.bubble} />
|
|
|
|
### Tutorial
|
|
|
|
- [HackerEarth Quicksort](https://www.hackerearth.com/practice/algorithms/sorting/quick-sort/tutorial/)
|
|
- expected $O(N\log N)$
|
|
- [HackerEarth Mergesort](https://www.hackerearth.com/practice/algorithms/sorting/merge-sort/tutorial/)
|
|
- $O(N\log N)$
|
|
|
|
|
|
## Problems
|
|
|
|
???
|
|
|
|
<IncompleteSection /> |