Https://online.codingblocks.com/app/player/25717/content/99116/5186/code-challenge

https://online.codingblocks.com/app/player/25717/content/99116/5186/code-challenge
this is the ques of longest inc sub seq


THIS IS MY CODE BY THIS CODE ONLY 2 TEST CASES ARE PASSING AND REST 3 TEST CASES ARE SHOWING TLE…
KINDLY MODIFY THE CODE AND COMMENT OUT THE NESSECARY THINGS