sentenz / convention

General articles, conventions, and guides.
https://sentenz.github.io/convention/
Apache License 2.0
4 stars 2 forks source link

Refactor article about `asymptotic notation` #149

Closed sentenz closed 1 year ago

sentenz commented 1 year ago

3.6. $O(2^n)$ - Exponential Time

Example:

Tower of Hanoi

3.7. $O(n!)$ - Factorial Time

Example:

Determinant Expansion by Minors, Brute force Search algorithm for Traveling Salesman Problem.

3.8. $O(n^m)$ - Polynomial Time

Example:

Strassen’s Matrix Multiplication, Bubble Sort, Selection Sort, Insertion Sort, Bucket Sort.

sentenz commented 1 year ago

Closed by #168