We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be interesting to try and implement an algorithm to find the longest increasing subsequence in a sliding window.
Such an approach is described in Albert et al., 2004:
The text was updated successfully, but these errors were encountered:
Actually, there is another algorithm by Chen et al. that computes the value in O( output ) time:
This is (theortically) an improvement on the O ( log log n + output ) approach in the paper above.
Also, the construction looks possibly easier to implement and more practical as it does not rely on Emde Boas trees.
Sorry, something went wrong.
ajcr
No branches or pull requests
It would be interesting to try and implement an algorithm to find the longest increasing subsequence in a sliding window.
Such an approach is described in Albert et al., 2004:
The text was updated successfully, but these errors were encountered: