An introduction to algorithms and asymptotic notation. It explains the concept of algorithmic complexity and provides examples of tasks such as assigning, comparing, and incrementing. It also covers the rules for simplifying algorithms and provides a flow chart for finding the maximum among two numbers. The document introduces the concept of asymptotic notation and its use in measuring the total time taken for completion of a task. It also covers the concept of theta bound and provides examples of sequences. useful for students studying computer science and related fields.
Download Algorithms and Asymptotic Notation and more Lecture notes Design and Analysis of Algorithms in PDF only on Docsity!
a3itl'aa -Algossthin = All a° in seh trim > sanae fun ction does not include tg wat tlen as hange Cy) _ | tic complexity oT i puoximaton Y 6 tasks Assigning, Comparing b .inwwement 4- im: 6 ° 4 4 4 a 40% {tn ange Gp) a(nt+ 1) 6n+6 nti n- “point Cc) on 7 n | - fo 4m toy Int ant 2 Zone 1 Cimpleat) ‘fou _dillewent compiles the machine cycles uoould be dif esent * Rules: 1) Remove _constuatets constants - a) Remove QU lowes Powered vasiables 3) ‘Remove coef cfents | Cn) = 3y?+ Ont 1? it 1 Bt Qn 2 a” on” : 3 3 nn? _ =S ohis is _abpuoximate / asymptotic | complexity” Q {Fn