![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 01.11.2019 04:31 byers024
Let σ be an alphabet set of size k, and a = a1 · · · am and b = b1 · · · bn be two strings over σ with length m and n, respectively. design a dynamic programming based algorithm to convert a into b with minimum cost using the following rules. for a cost of dk/3e, one can delete any letter from a string. for a cost of dk/2e, one can insert a letter in any position. for a cost of |rank(a)−rank(b)|, one can replace a letter a by another letter b, where rank(a) and rank(b) are the ranks of a and b in σ (i. e., the ranks of 3 and 5 are 2 and 3, respectively, in an alphabet of {1, 3, 5, 7}).
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 08:00, Maxxboogie
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 06:30, tiwaribianca475
How can u permanently delete a picture from your camera ?
Answers: 1
You know the right answer?
Let σ be an alphabet set of size k, and a = a1 · · · am and b = b1 · · · bn be two strings over σ wi...
Questions in other subjects:
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 23.07.2019 13:00
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/obshestvoznanie.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 23.07.2019 13:00
![Konu](/tpl/images/cats/obshestvoznanie.png)
![Konu](/tpl/images/cats/biologiya.png)