So, the way you construct an LCS is by starting in the lower-right corner cell and then following the pointer arrows backward.
所以,构建LCS的途径就是从右下角的单元格开始,沿着箭头一路返回。
Listing 8 shows the code for filling in the score and pointer for an individual cell in the table.
清单8显示了向表格中的初始单元格填充值和指针的代码。
Listing 8 shows the code for filling in the score and pointer for an individual cell in the table.
清单8显示了向表格中的初始单元格填充值和指针的代码。
应用推荐