Giter Site home page Giter Site logo

dp's Introduction

DYNAMIC PROGRAMMING

One Dimention DP

Fibonaaci Fibonaaci
Frog Jump Frog Jump
Frog Jump 2 Frog Jump 2
House Robbers I House Robbers I
House Robbers II House Robbers II

Two Dimention DP

Unique Path I Unique Path I
Unique Path II Unique Path II
Minimum path Sum in grid Minimum path Sum grid
Minimum falling path Sum Minimum falling path Sum
Triangle Triangle
Cherry Pick II Cherry Pick II
Ninja Training Ninja Training

DP on Subsequences

Subset Sum to target Subset Sum to target
Partition Equal Subset Sum Partition Equal Subset Sum
0-1 Knapsack 0-1 Knapsack
Unbounded Knapsack Unbounded Knapsack
Target Sum Target Sum
Coin Change I Coin Change I
Coin Change II Coin Change II
Rod Cutting Rod Cutting

DP on Strings

Longest Common Subsequences Longest Common Subsequences
Print Longest Common Subsequences Print Longest Common Subsequences
Longest common substring Longest common substring
Longest palindromic subsequence Longest palindromic subsequence
Minimum deletion steps to make a string palindrome Minimum deletion steps to make a string palindrome
Shortest Common Supersequence Shortest Common Supersequence
Distinct Supersequences Distinct Supersequences
Edit Distance Edit Distance
wildcard Matching wildcard Matching

DP on Stocks

Best Time to Buy and Sell Stock Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock III Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock IV Best Time to Buy and Sell Stock IV
Best Time to Buy and Sell Stock with cooldown Best Time to Buy and Sell Stock with cooldown
Best time to Buy and Sell Stock with Transaction Fee Best time to Buy and Sell Stock with Transaction Fee

dp's People

Contributors

reeteshk avatar

Watchers

 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.