Algorithms and Data Structures Basics

Algorithms and Data Structures Basics

By Ifeanyi Omeata


Here are the basic topics:


1. Linear Runtime
2. Logarithmic Runtime
3. Quadratic Runtime
4. Cubic Runtime
5. Quasilinear Runtime
6. Exponential Runtime
7. Factorial/Combinational Runtime


1. Linear Runtime


>>Return to Menu
Constant Time:

O(1)

Worse Case:

O(n)


2. Logarithmic Runtime


>>Return to Menu

O(log n)


3. Quadratic Runtime


>>Return to Menu

O(n2)


4. Cubic Runtime


>>Return to Menu

O(n3)


5. Quasilinear Runtime


>>Return to Menu

O(nlog n)


6. Exponential Runtime


>>Return to Menu

O(10n)


7. Factorial/Combinational Runtime


>>Return to Menu

O(n!)

#End


Hope you enjoyed this! :) Follow me for more contents...


Get in Touch:
ifeanyiomeata.com

Youtube: youtube.com/c/IfeanyiOmeata
Linkedin: linkedin.com/in/omeatai
Twitter: twitter.com/iomeata
Github: github.com/omeatai
Stackoverflow: stackoverflow.com/users/2689166/omeatai
Hashnode: hashnode.com/@omeatai
Medium: medium.com/@omeatai
© 2022