Skip to content

VaspulaVijayaLakshmi/Dynamic-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic-Programming

LC, CODEWITHMIK, TUF

Dp probem with true/ false scenarios

*IMP 122. Best Time to Buy and Sell Stock II

https://leetcode.com/problems/minimum-cost-to-cut-a-stick/solutions/780880/dp-with-picture-burst-balloons/

  1. Minimum Cost to Cut a Stick
  2. Burst Balloons
  3. Minimum Cost to Merge Stones
  4. Minimum Score Triangulation of Polygon

there are certain prblms which may seem like dp: but dp would be an overkill.

-> 3100. Water Bottles II

here we may have multiple options but until and unless i have empty bottled i dony have much of a choice..

when u use dp... pay attention on how many variable are changing .... 
 IF 2 varialble are chaning use 2D dp array 
 IF 3 ... use 3D 

About

LC, CODEWITHMIK, TUF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors