Coding Interview Questions

Building Bridges

In this tutorial we shall solve building bridges problem with help of DP. This is a classical DP problem. Problem statement: Given a river,…

Box Stacking Problem

This is a classical DP problem. In this tutorial we shall see how to solve box stacking problem. We shall solve it by DP approach. Problem…

Rod Cutting Problem

In this tutorial we shall learn about rod cutting problem. Problem statement: You are given a rod of length n and you need to cut the cod in…