We maintain all homework and their solutions here. Homework should be submitted using Gradescope.

No. Homework Posted on Deadline Comments etc.
1 PDF 07 Aug (5:30 PM) 19 Aug (11:59 PM) Latex source
Solution
2 PDF
Programming
26 Aug 11 Sep (11:59 PM) (Latex source) (Solution)
A few test cases for programming assignment.
(input-1)(output-1)
(input-2)(output-2)
(input-3)(output-3)
Evaluation cases used for grading: (Zip)
3 PDF
Programming
12 Sep
12 Sep
23 Sep (11:59 PM)
09 Oct (11:59PM)
(Latex source)
A few test cases for programming assignment.
(input-1)(output-1)
(input-2)(output-2)
(input-3)(output-3)
Exam preparation questions on Shortest paths
and Greedy (PDF) (Solution)
Evaluation cases used for grading: (Zip)
4 PDF 23 Sep (1:30 PM) 14 Oct (11:59 PM) Latex source
5 PDF
Programming
17 Oct
17 Oct
30 Oct (11:59 PM)
30 Oct (11:59 PM)
Latex source
A few test cases for programming assignment.
(input-1)(output-1)
(input-2)(output-2)
(input-3)(output-3)
(input-4)(output-4)
(input-5)(output-5)
(input-6)(output-6)
6 PDF
Programming
02 Nov
02 Nov
12 Nov (11:59 PM)
12 Nov (11:59 PM)
Latex source
A few test cases for programming assignment.
(input-1)(output-1)
(input-2)(output-2)
(input-3)(output-3)