
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about assignment 4 for the theory of algorithms course at spring 2005. The assignment includes problems related to card counting and finding a viterbi path in a hidden markov model. Students are required to read sections 6.1–6.7 in kleinberg-tardos and submit their solutions by march 2, 2005. Collaboration is allowed, and the document provides examples and explanations for each problem.
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

COS 423 Theory of Algorithms Spring 2005
Answer problems 1 and 3. Problems 2 and 4 are extra credit. This assignment is due Wednesday, March 2 at the beginning of lecture. Collaboration is allowed (according to the rules specified in the handout). If you work with a group, be sure to clearly acknowledge the other members of your study group on the first page.
Read 6.1–6.7 in Kleinberg-Tardos.
) time and O(m + n) space, where n is the number of nodes, m is the number of edges, and ` is the length of the string s. You may assume that you are working over the binary alphabet (a’s and b’s).† 4. Viterbi path in linear space. Your friend Andrew is working for a certain NJ research lab in designing one of those annoying automated phone operator systems with voice recognition. He intends to use a hidden Markov model to solve the voice recognition problem. Unfortunately, there are so many nodes in the graph that when he tries to implement it, he runs out of memory. Please help him design an algorithm to compute a Viterbi path that uses O(m log) time, but only O(m + `) space. For credit, your algorithm must output a Viterbi path, not just its probability.