What is the optimal time complexity for an algorithm that solves the Longest Increasing Subsequence problem?
I am aware of the O(n log n) algorithm mentioned in textbooks (and on the Wikipedia article). Can we do better? Is it possible to solve this problem in O(n) time?