You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can use the O(n log n) approach to finding the longest increasing subsequence on an "unwrapped" array made by duplicating the original array. If you don't know the O(n log n) way to finding the LIS, look at the simpler version of this problem - longest increasing subsequence.