Skip to content
New issue

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

Add code for Longest increasing subsequence in DP #1970

Open
amankhanathani opened this issue May 23, 2021 · 3 comments
Open

Add code for Longest increasing subsequence in DP #1970

amankhanathani opened this issue May 23, 2021 · 3 comments

Comments

@amankhanathani
Copy link

Is your feature request related to a problem? Please describe.
Given an array find the Longest increasing subsequence.
In interviews they might ask these as what is the max length of sub array.
Describe the solution you'd like
Suppose A={1,4,2,4,3} we can have increasing subsequence 1,2,3 or 1,2,4.
Brute force takes exponential time, so this is preferred.
Do you want to work on it
Ill add comments and code using C++.

@prakharshreyash
Copy link

@amankhanathani Can I work on this issue using c++?

@agrlmuskan
Copy link
Contributor

@amankhanathani please assign this issue to me in C++.I am a GSSOC'21 participant

@tanyajha16
Copy link

hey!! @amankhanathani can i use this as my first open source contribution?

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

No branches or pull requests

4 participants