Next, you fill in each cell of the table with a score and a pointer.
接下来,要用值和指针填充表格的每个单元格。
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显示了向表格中的初始单元格填充值和指针的代码。
应用推荐