Can you please explain me what the question means.
Like in the video explanation we have an array whose value looks like this 1, 5, 2, 3, 4, 9, 6, 10
The dp array looks like 1, 2, 2, 3, 4, 5, 5, 6
But we can form LIS by 1,2,3,4,5,6,9,10 right?? which is equal to the length of the array.
Ps: I think I don’t understand the question