Interview Question

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.
Answer

Interview Answer

4 Answers

0

1

Interview Candidate on Jun 2, 2011
0

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
0

In general, if a painted cube of NXNXN units size, cut in to 1X1X1 unit cubes, there will be (N-2)*3 number of cubes will be not having paint.

sai charan on Jul 4, 2015
0

In general, if a painted cube of NXNXN units size, cut in to 1X1X1 unit cubes, there will be (N-2)*(N-2)*(N-2) number of cubes will be not having paint.

saicharan on Jul 4, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.