Edit : sorry. I found some other similar question online. I will modify and then post it.
What is the range for possible values for elements of the array? And by lis(I) you mean length of the longest increasing subsequence right?
Edit : sorry. I found some other similar question online. I will modify and then post it.
What is the range for possible values for elements of the array? And by lis(I) you mean length of the longest increasing subsequence right?