Interview Question

Software Engineer Interview Pune (India)

I remember a puzzle. There is cube of size 3x3x3 unit. All

  of its 6 faces are painted. you cut that cube into 27 cubes of 1x1x1 size of cubes. How many cubes will have no face painted.

Interview Answer

2 Answers



Interview Candidate on Jun 2, 2011

You will have 27 cubes build the structure in sections 9 cubes at a time. The first 9 form a side and all are painted. The middle section is all painted except for the one center piece. and the last outer wall is all painted. So, just the one center cube is not painted.

JC on Apr 15, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.