





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















Introduction + Divide and Conquer Introduction
What is Algorithm? (Cont…)
What is Algorithm? (Cont…)
What is Algorithm? (Cont…)
What is Algorithm? (Cont…)
There are many criteria upon which we can judge an algorithm. Forinstance: 1.Does it do what we want it to do? 2.Does it work correctly according to the original specifications of the task? 3.Is there documentation that describes how to use it and how it works? 4.Are procedures created in such a way that they perform logical subfunctions? 5.Is the code readable?
Time complexity: (^) For Algorithm Heading: 0 (^) For Braces: 0 (^) For Expression: 1 (^) For any Looping Statement: Number of time the loop is repetive Performance Analysis (Cont…)