Infonononononononono
This commit is contained in:
1 parent
1c7f6684dc
commit
9f5acc3f58
3 files changed
+38
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Quicksort
|
||||
- Pivoelement muss zuerst bestimmt werden, idealerweise der Median (Median: nicht ohne Sortierung bestimmbar)
|
||||
- Prinzip: Teile und herrsche
|
||||
## Beipiel:
|
||||
253 401 24 590 281
|
||||
253 24 281 401 590
|
||||
\\\\
|
||||
- Elemente werden mit Pivoelement verglichen und avor oder dahinter einsortiert
|
||||
- Vorgang wird wiederholt, bis nur einelemntigre Teilmengen über sind (Rekursion)
|
||||
## Übung:
|
||||
58 12 3 7 62
|
||||
3 7 12 58 62
|
||||
Binary file not shown.
Reference in new issue
Block a user