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

Longest increasing subsequence in dp #2090

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tanyajha16
Copy link

Longest increasing subsequence in dp

-Add code for Longest increasing subsequence in DP
fixes #[1970]

built the whole code in c++ with sample input, output and explaination given

An efficient implementation for longest increasing subsequence using the dynamic programming is done in this approach. It is used to manage the algorithm in space and time efficient approach .

Language Used:

[c++]

Checklist:

  • [ x] I have placed my code file in the (/Code) Folder e.g. If it's a Code in JAVA then I have placed my code pr_name.java file in (/Code/Java/) Directory.
  • [ x] I have Added the Description, Approach, and Working of Code at the beginning of Code.
  • [ x] I have added 2 or more Testcases at the Bottom side of the Code.
  • [ x] I have Added Time and Space Complexity at the End of the Code.
  • [ x] I have Explained the Variables use in Complexity e.g. O(n) where n is the length of an array.
  • [ x] I have Updated the Readme Related to the Topics e.g., if the issue is regarding Matrix then Update the Readme.MD present in 2D_Array Folder.
  • [ x] I have added Proper Comments in between the Code for Better Explanation.
  • [ x] I have sorted the list of the Readme.MD where I have added the issue in the Alphabetical Order.

@github-actions
Copy link

AlgoTree team will review your PR soon. Take Care of Few of the Things where most contributors are missing out. msgonpr @tanyajha16 :)

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