-
Notifications
You must be signed in to change notification settings - Fork 497
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
The Longest Common Subsequence [C] #7
Labels
Comments
Do you want to do this @RajuKoushik ? |
I can work upon this. |
Removing all other languages than C. Please open issues if you wish to implement in other language. |
rashinanwani
pushed a commit
to rashinanwani/algos
that referenced
this issue
Jun 24, 2017
# This is the 1st commit message: # This is a combination of 5 commits. # This is the 1st commit message: changes # This is the commit message iiitv#2: changes # This is the commit message iiitv#3: changes # This is the commit message iiitv#4: changes # This is the commit message iiitv#5: changes # This is the commit message iiitv#2: Added Coin Change Problem [JavaScript] (iiitv#317) * Added CoinChangeProblem [JavaScript] * undo changes in other files * Travis fix 1.0 * Travix fix v1.1 * Update comments # This is the commit message iiitv#3: fixed readme conflicts # This is the commit message iiitv#4: conflicts # This is the commit message iiitv#5: changes # This is the commit message iiitv#6: changes # This is the commit message iiitv#7: conflicts # This is the commit message iiitv#8: changes # This is the commit message iiitv#9: changes # This is the commit message iiitv#10: changes # This is the commit message iiitv#11: conflicts # This is the commit message iiitv#12: conflicts # This is the commit message iiitv#13: conflicts # This is the commit message iiitv#14: conflicts # This is the commit message iiitv#15: conflicts # This is the commit message iiitv#16: Added Longest Common Subsequence [Python] (iiitv#353) * Added Longest Common Subsequence [Python] Fixes iiitv#340 * changes * travis issues # This is the commit message iiitv#17: Added Counting Sort [Go] (iiitv#361) * Added Shell Sort [Javascript] * Added Shell Sort [Javascript] * Auto stash before rebase of "origin/master" Fix spaces * Added param comment * Renamed * Fixed temp declaration * Added Counting Sort [Go] * Time complexity corrected * size
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LCS Problem Statement: Given two sequences, find the length of longest subsequence present in both of them. A subsequence is a sequence that appears in the same relative order, but not necessarily contiguous. For example, “abc”, “abg”, “bdf”, “aeg”, ‘”acefg”, .. etc are subsequences of “abcdefg”. So a string of length n has 2^n different possible subsequences.
Examples:
LCS for input Sequences “ABCDGH” and “AEDFHR” is “ADH” of length 3.
LCS for input Sequences “AGGTAB” and “GXTXAYB” is “GTAB” of length 4.
The text was updated successfully, but these errors were encountered: