whats the problem with my code .Help me rectify it .
Reply ASAP.
Sample test cases passing but not testcases
@D19APPPP0016 Hey you are creating subarrays that stores the longest increasing/decreasing subsequence, but we need subarray. So we just need to look the immediate previous element only.
Can u provide the modified code
Or describe the problem in more detail
Reply fast ,it has been more than 10 hours
Provide with me your code