What to do next in the given code i am not able to solve the problem
hey @kailash_01, start your iteration in the array from i=1,then for every element compare it with its previous element if current number is less than previous element go on iterating if it is bigger than previous element mark it as split point after that your array should only be increasing if it decreases again then subsequence is not possible.
@kailash_01, I hope i have cleared your doubt if still have any query let me know else please mark this doubt as resolved. thankyou
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.