I'm trying to find a dynamic solution to the nesting boxes problem.
You're basically given a set of "boxes" which all have different dimensions. The goal is to find the maximum set of boxes that can be nested inside of each other.
So more formally,
Given set B = {b_1, b_2, . . . b_n} where each b_i contains a box with a width, height and depth.
Find the set of boxes that will allow you to nest as many as possible together.