Showing 20 of 241 from page 1

## Water Jug Problem | Dynamic Programming | C++ Solution

Water Jug Problem, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Please check the main.cpp snippet for the solution. This solution origi

## Word Segmentation | Dynamic Programming | C++ Solution

Word Segmentation, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ word segmentation Given a dict containing various words and a given inp

## Ways To Cover Distance | Dynamic Programming | C++ Solution

Ways To Cover Distance, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given a distance d .Find in how many ways can we cover that distan

## Rope Cutting Product | Dynamic Programming | C++ Solution

Rope Cutting Product, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given rope with length n .Find how many cuts should be made so that

## Rod Cutting | Dynamic Programming | C++ Solution

Rod Cutting, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Given a rod of length n inches and a list of different prices for different l

## Partition | Dynamic Programming | C++ Solution

Partition, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given an array of elements.Find whether the array elements can be divided into

## Optimal Game Strategy | Dynamic Programming | C++ Solution

Optimal Game Strategy, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Given coins with values v1,v2 ,v3......vn .Now this is a game where

## Minimum Partition | Dynamic Programming | C++ Solution

Minimum Partition, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given an array .Find the minimum abs difference from the sum of two set

## Min Supersequence | Dynamic Programming | C++ Solution

Min Supersequence, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given two strings str1 and str2.Find the shortest supersequence length

## Matrix Chain Multiplication | Dynamic Programming | C++ Solution

Matrix Chain Multiplication, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Given a vector which represents the dimensions of different m

## Longest Path Matrix | Dynamic Programming | C++ Solution

Longest Path Matrix, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given a matrix ,find the longest path in the matrix starting from any

## Longest Increasing Sequence | Dynamic Programming | C++ Solution

Longest Increasing Sequence, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given an array,find the longest increasing sequence LIS for i

## Knapsack 0 1 | Dynamic Programming | C++ Solution

Knapsack 0 1, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ 0 1 Knapsack problem Given a knapsack of weight w and list of pieces of diff

## Fibonacci Number | Dynamic Programming | C++ Solution

Fibonacci Number, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Print the nth fibonacci number Please check the main.cpp snippet for the

## Egg Drop Problem | Dynamic Programming | C++ Solution

Egg Drop Problem, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Given n eggs and k floors,find the min number of attempts drops to find

## Edit Distance | Dynamic Programming | C++ Solution

Edit Distance, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Given two strings str1 and str2.Given three possible operations on str1 1 i

## Dice | Dynamic Programming | C++ Solution

Dice, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ Given a Number X and n die each having m faces.In how many ways can we get X Pleas

## Coin Change | Dynamic Programming | C++ Solution

Coin Change, is a Dynamic Programming related problem and in this post we will see how we can solve this challenge in C++ given N as a value and a list of coins with denomination lesser than N S1,S2.

## Path Sum - Swift Solution @ LeetCode

Path Sum, is a LeetCode problem from Tree subdomain. In this post we will see how we can solve this challenge in Swift You can find the full details of the problem Path Sum at LeetCode Solution Time

## Regular Expression Matching - Swift Solution @ LeetCode

Regular Expression Matching, is a LeetCode problem from dynamic programming subdomain. In this post we will see how we can solve this challenge in Swift You can find the full details of the problem R 