Why is this code for longest increasing subsequence not getting accepeted fully
@praritv1
dp[] ={0} doesnt initialise the whole array to 0,only the first term .use memset for that or traverse
you can refer to this code:
@praritv1
dp[] ={0} doesnt initialise the whole array to 0,only the first term .use memset for that or traverse
you can refer to this code: