Skip to content

Add longest increasing subsequence (NlogN)#1

Open
RameshAditya wants to merge 3 commits into
manujagobind:masterfrom
RameshAditya:master
Open

Add longest increasing subsequence (NlogN)#1
RameshAditya wants to merge 3 commits into
manujagobind:masterfrom
RameshAditya:master

Conversation

@RameshAditya

@RameshAditya RameshAditya commented Oct 1, 2018

Copy link
Copy Markdown

Added the implementation for finding the length of the longest increasing/non-decreasing subsequence of an array A of size n.

Time complexity is N*logN, accomplished by binary search.

@RameshAditya RameshAditya changed the title Add longest increasing subsequence (NlogN) Add longest increasing subsequence (NlogN) and segment tree. Oct 1, 2018
@RameshAditya RameshAditya changed the title Add longest increasing subsequence (NlogN) and segment tree. Add longest increasing subsequence (NlogN) Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant