Yahoo Interview Question: You have a 10x10x10 rubix cub... | Glassdoor

Interview Question

Technical Yahoo - Software Engineer Interview(Student Candidate) Burbank, CA

You have a 10x10x10 rubix cube. You paint the outside. How

  many cubes have paint on them?
Answer

Interview Answer

5 Answers

0

Rubiix cubes were not made as 10x10x10!

Suzy on Jul 31, 2014
0

Assume paint outside = paint the 6 surfaces.
it should be 6(8^2) + 4(8 x 3) + 8 corners.

Benny on Aug 12, 2014
0

488

David on Aug 15, 2014
6

well only the outer shell has paint so here is an easy solution:
10^3 - 8^3

Anonymous on Aug 15, 2014
0

Total Painted cubes on surface excluding edge cubes 64*6
Total cubes on edges excluding the corners 8*12
Total cubes on the corner or vertexes 8

So total painted cubes = 488

Anonymous on Sep 4, 2014

Add Answers or Comments

To comment on this, Sign In or Sign Up.