Git Product home page Git Product logo

dynamic-programming's Introduction

DP Beginner to Advanced ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

  • It contains all the codes which i coded during the learning of Dynamic Programming With All Possible Approaches Like -

Recursion
Memoization
Tabulation
Space Optimisation (Wherever Needed)

Type Of Questions/S-No. 1 2 3 4 5 6 7 8 9 10 11
1D - DP on Jump Patterns DP Fibonacci Frog Jumps for 2 steps Frog Jumps for K steps Horse Robber 2 Maximum sum of non-adjacent elements(House Robber) N-stairs - - - - -
2D - DP on Grid Grid Unique Paths 2 Grid Unique Paths Minimum Falling Path Sum Minimum Path Sum Ninja Training Triangle - - - - -
2D - DP on Subsequences 0-1 Knapsack Coin change 2 Count Partitions With Given Difference Count Subset with sum K Minimum Coins Partition Equal subset sum Partition a set into two subsets such that the difference of subset sums is minimum Rod Cutting Problem Subset Sum Equals to Target Target sum Unbounded Knapsack
2D - DP on Strings Longest Common Subsequence Print Longest Common Subsequence Longest Common Substring Longest Palindromic Substring Minimum Insertions To convert a string into Palindromic String Minimum Number of Insertion-Deletions to Make both strings Equal Shortest Common Supersequence (String Matching) Distinct Subsequences (String Matching) Edit Distance (String Matching) Wildcard Matching -
2D - DP on Stocks Best Time to Buy & sell stock Best Time to Buy & sell stocks 2 Best Time to Buy & sell stocks 3 Best Time to Buy & sell stocks 4 Best Time to Buy & Sell stock with Cooldown Minimum Number of Insertion-Deletions to Make both strings Equal - - - - -
2D - DP on Increasing Subsequences Longest Increasing Subsequence(LIS) Printing the Longest Increasing Subsequence(LIS) Longest Increasing Subsequence(LIS)-Binary Search Largest Divisible Subset(LIS) Longest String chain Longest Bitonic Subsequence Number of Longest Increasing Subsequences - - - -
2D - DP On Partitions(MCM) Pattern Matrix Chain Multiplication Memoization Matrix Chain Multiplication Tabulation Minimum cost to cut the Stick Burst Balloons Boolean Evaluation Palindrome Partition Partition array for Maximum sum Maximum rectangle area with all 1s Count square submatrices with all 1s - -
3D - DP on Grid (Jump Pattern) Cherry Pickup (On stocks) Best Time to Buy & sell stocks 2 (On stocks) Best Time to Buy & sell stocks 3 - - - - - - - -

< / > with โค๏ธ by Kunal Singh

@@ Star This Repository if You Like the codes & Explanation ๐ŸŒŸ@@

dynamic-programming's People

Contributors

singhkunal01 avatar

Stargazers

Babajan khan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.