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 Missing Dynamic Programming Algorithms #775

Open
ganeshvenkatasai opened this issue Jan 14, 2025 · 0 comments · May be fixed by #776
Open

Add Missing Dynamic Programming Algorithms #775

ganeshvenkatasai opened this issue Jan 14, 2025 · 0 comments · May be fixed by #776

Comments

@ganeshvenkatasai
Copy link
Contributor

What would you like to share?

I found that some dynamic programming algorithms are currently missing. These algorithms are widely used in competitive programming, interview preparation, and realworld applications.

Extra issue details

Below is a list of the missing DP algorithms I propose to add:

Partition Problem: Dividing an array into two subsets with equal sum.
Maximum Subarray Sum (Kadane's Algorithm): Finding the contiguous subarray with the maximum sum.
Longest Palindromic Substring: Find the longest substring in a string that is a palindrome.
Word Break Problem: Determining if a string can be segmented into dictionary words.
Egg Dropping Problem: Find the minimum number of attempts needed to find the critical floor.
Tiling Problems: Count the ways to tile a 2xN board using 2x1 tiles.
Dice Throw Problem: Count the number of ways to achieve a target sum using a given number of dice.
Burst Balloons: Find the maximum coins you can collect by bursting balloons wisely.
Wildcard Matching: Matching a string with a pattern containing wildcards like ? and *.
Interleaving Strings: Determine if a string is an interleaving of two other strings.
Optimal Binary Search Tree: Construct a BST with minimum cost for given search probabilities.
Longest Arithmetic Subsequence: Find the longest subsequence with the same difference between consecutive elements.

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant