We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
UniqueSubsequenceCount
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
This algo counts the number of unique subsequence or subsets can be produced from a string.
public class UniqueSubsequencesCountTest { @Test void subseqCountTestOne() { String s = "abc"; assertEquals(7, UniqueSubsequencesCount.subseqCount(s)); } @Test void subseqCountTestTwo() { String s = "abcdashgdhas"; assertEquals(3592, UniqueSubsequencesCount.subseqCount(s)); } @Test void subseqCountTestThree() { String s = "aaaaa"; assertEquals(5, UniqueSubsequencesCount.subseqCount(s)); } }
This algorithm is missing but is an important approach in dynamic programming
No response
The text was updated successfully, but these errors were encountered:
@Tuhinm2002 I would like to add solution to this problem. Could you please assign it to me ?
Sorry, something went wrong.
That's not an assignment that is a feature request created by me. There is already a PR for this
@siriak hey i created a new pr for a new algo in dp check out here #5586
please assign this to me
No branches or pull requests
What would you like to Propose?
This algo counts the number of unique subsequence or subsets can be produced from a string.
Issue details
This algorithm is missing but is an important approach in dynamic programming
Additional Information
No response
The text was updated successfully, but these errors were encountered: