Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 637 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 637 Bytes

DSA Problems >>>

Algorithms:

Asymptotic Analysis : Asymptotic Analysis, we evaluate the performance of an algorithm in terms of input size (we don’t measure the actual running time). We calculate, how the time (or space) taken by an algorithm increases with the input size. Such large inputs are never given to software and an algorithm which is asymptotically slower, always performs better for particular situation.

Analysis of Algorithm :
Worst Case : (Big O Notaion) 0 <= f(n) <= cg(n)
Average Case : (theta Notation) 0 <= c1
g(n) <= f(n) <= c2g(n)
Best Case :(Omega Notation) 0 <= c
g(n) <= f(n)