Sedfsdf
Sedfsdf
• Issues:
CSC 344 – Algorithms and – Correctness – Does it work as advertised?
– Time Efficiency – Are time requirements
Complexity minimized?
– Space Efficiency – Are space requirements
Lecture #2 – Analyzing Algorithms minimized?
and Big O Notation – Optimality – Do we have the best balance between
minimizing time and space?
• Formula indicating order of growth with specific 103 10 103 1.0×104 106 109
104 13 104 1.3×105 108 1012
multiplicative constant
105 17 105 1.7×106 101 1015
e.g., C(n) ≈ 0.5 n2 0