4. (a) Consider the following problem of string edit using the dynamic programming technique. The string X="abab” needs
Posted: Sat May 14, 2022 3:08 pm
4. (a) Consider the following problem of string edit using the dynamic programming technique. The string X="abab” needs to be transformed into the string Y="babb" (i) Create the dynamic programming matrix with alphabets of string 'X' along the rows and alphabets of string 'Y' along the column entries. Calculate the min cost entries for the full matrix. Give the detailed calculation of min cost for at least two entries of the matrix. (8 marks) (ii) Calculate min cost solutions by tracing back the matrix entries from bottom right (4 marks)