1.

Complete the following dynamic programming implementation of the longest increasing subsequence problem:

A. Tmp_max = LIS[j].
B. LIS[i] = LIS[j].
C. LIS[j] = tmp_max
D. Tmp_max = LIS[i].
Answer» B. LIS[i] = LIS[j].


Discussion

No Comment Found