Algo Outline
Algo Outline
Course Information
Program: BS (CS, SE) Credit Hours: 3 Type: Core
Pre-requisites: Data Structures
Class Meeting Time: BCS-4G Monday, Wednesday 11:30 AM to 12:50 PM
Class Venue: BCS-4G NB - 208
Class Meeting Time: BCS-4H Monday, Wednesday 1:00 PM to 2:20 PM
Class Venue: BCS-4H NB - 208
Class Meeting Time: BSE-6A Tuesday, Thursday 2:30 PM to 3:50 PM
Class Venue: BSE-6A NB - 209
Course Description:
The objective of this course is not to fill your brains with every algorithm that you would ever need.
One of the aims of this course is to teach you to reason about algorithms and describe them. In
addition, many known algorithms to solve known problems will be taught. At the end of the course,
you should be able to choose an appropriate algorithm from a set of algorithms for a given problem.
Course Textbook
Introduction to Algorithms by Cormen, Leiserson, Rivest, and Stein, 3rd Ed., MIT Press, 2001.
Weekly Schedule
+ Solving recurrences
Week – 5 Lower bound for comparison based sorting, Sorting 8
in linear time: Count Sort, radix sort
Midterm – I
Week – 6,7 Dynamic Programming ( maximum subarray, rod 15
cutting, longest common subsequence, binary
knapsack)
Week – 8, 9 Greedy Algorithms (Activity selection, fractional 16
knapsack and Huffman codes)
Week – 10 Introduction to graphs (revision of BFS, DFS) and 22
their application (topological sort, strongly
connected components)
Midterm – II
Week – 11 Minimum Spanning Trees (MST)(Prim's Algorithm 23
and Kruskal's Algorithm)
Week – 12, Shortest Path Algorithms (Dijkstra's Algorithm, 24
13 Bellman-Ford and Floyd Warshall Algorithm)
Week 14 Approximation Algorithms/ NP Hard Problems
Final Exam Comprehensive
Course Policies
1. Quizzes will be announced. (There might be surprise quizzes)
2. No makeup for missed quizzes and assignments.
Academic Integrity: All work MUST be done individually. Any copying of work from other person(s)
or source(s) (e.g., the Internet) will automatically result in at least an F grade in the course. It does
not matter whether the copying is done in an assignment, quiz, midterm exam, or final exam, it will
be considered equally significant.