three dimensional DP

someone please help me to understand 3D dynamic programming
like some basic question of it with explanation, link is also fine
thank you

//