mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update README.md
This commit is contained in:
parent
90ef21f8be
commit
abc3e2abf8
@ -2,6 +2,14 @@
|
||||
|
||||
<br>
|
||||
|
||||
* **inversions** in a sequence is a pair of elements that are out of order with respect to the ordering relation. a sorting algorithm is a sequence of operations that reduces inversions to zero.
|
||||
* a **topological sort** of a diretect graph is a way of ordering the list of nodes such that if `(a, b)` is a edge of the graph, then `a` appears before `b`. it does not work if a graph has cycles or is not directed.
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
----
|
||||
|
||||
### `sorting_algorithms.py`
|
||||
|
||||
<br>
|
||||
|
Loading…
x
Reference in New Issue
Block a user