The figure below shows a rectangular prism and a cube:
How many such cubes are required to completely pack the prism without any gap or overlap?
240
900
1,440
3,658
