Homework Assignments:

  1. Due April 6: Show the ordering of nodes under both BFS and DFS on the graph in the April 4 notes. Solution.
  2. Due April 13. Solution.
  3. Due April 20: Solve the following knapsack problem and give a table showing your work.

    Max 10x1 + 7x2 + x3
    Sub 7x1 + 5x2 + x3 ≤ 21
    xj ≥ 0, integers

    Solution.
  4. Due May 11: Given in the May 4th notes.

Quiz / Exam Solutions:

  1. Quiz in class on April 4. Solution.