Syllabus - Analysis Design of Algorithm (CS402)


Computer Science and Engineering

Analysis Design of Algorithm (CS402)

IV-Semester

Algorithms, Designing algorithms, analyzing algorithms, asymptotic notations, heap and heap sort.

Introduction to divide and conquer technique, analysis, design and comparison of various algorithms based on this technique, example binary search, merge sort, quick sort, strassen’s matrix multiplication.

Study of Greedy strategy, examples of greedy method like optimal merge patterns, Huffman coding, minimum spanning trees, knapsack problem, job sequencing with deadlines, single source shortest path algorithm

Concept of dynamic programming, problems based on this approach such as 0/1 knapsack, multistage graph, reliability design, Floyd-Warshall algorithm

Backtracking concept and its examples like 8 queen’s problem, Hamiltonian cycle, Graph coloring problem etc. Introduction to branch & bound method, examples of branch and bound method like traveling salesman problem etc. Meaning of lower bound theory and its use in solving algebraic problem, introduction to parallel algorithms.

Binary search trees, height balanced trees, 2-3 trees, B-trees, basic search and traversal techniques for trees and graphs (In order, preorder, postorder, DFS, BFS), NP-completeness.

Practicals

  • Write a program for Iterative and Recursive Binary Search.

  • Write a program for Merge Sort.

  • Write a program for Quick Sort.

  • Write a program for Strassen’s Matrix Multiplication.

  • Write a program for optimal merge patterns.

  • Write a program for Huffman coding.

  • Write a program for minimum spanning trees using Kruskal’s algorithm.

  • Write a program for minimum spanning trees using Prim’s algorithm.

  • Write a program for single sources shortest path algorithm.

  • Write a program for Floye-Warshal algorithm.

  • Write a program for traveling salesman problem.

  • Write a program for Hamiltonian cycle problem.

Reference Books

  • Coremen Thomas, Leiserson CE, Rivest RL; Introduction to Algorithms; PHI.

  • Horowitz & Sahani; Analysis & Design of Algorithm

  • Dasgupta; algorithms; TMH

  • Ullmann; Analysis & Design of Algorithm;

  • Michael T Goodrich, Robarto Tamassia, Algorithm Design, Wiely India

  • Rajesh K Shukla: Analysis and Design of Algorithms: A Beginner's Approach; Wiley