Skip to content

KantSurya/MycodeSnippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codes

Dynamic Programming for competitive programming

  1. ncr-> Compute ncr recursively
  2. 2D array prefix sum -> given a 2d array, find the sum of sub matrix in O(1) complexity
  3. Cutting a Rod -> Given a rod of length n inches and an array of prices that contains prices of all pieces of size smaller than n. Determine the maximum value obtainable by cutting up the rod and selling the pieces

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages