Friday puzzle -- stacking cubes
This is a visualization challenge.
How many 1x1x1 cubes can you stack on the squares of a 5x5 grid, with the following restrictions?
Each cube is placed directly on or above one of the squares of the grid
No stack of cubes is over three high
Each cube is visible (the cubes themselves and the grid are opaque)