Unit 1
Introduction – Algorithms vs programs. Flow charts and pseudo code, Rate of growth of functions. Asymptotic notation: motivation and types of notations. Recurrence relations and methods to solve them: Recursion tree, substitution, Master Method, Sorting: Bubble – Insertion – Selection – Bucket – Heap, Comparison of sorting algorithms, Divide and Conquer: Quick sort – Merge sort – Binary search – Long integer multiplication – Maximum sub array sum.