Amazon.com
3.4 of 5 2,796 reviews
www.amazon.com Seattle, WA 5000+ Employees

Amazon.com Business Analyst Interview Question

I interviewed in Hyderābād (India) and was asked:
"How many smaller cubes are completely invisible in a n*n*n rubic's cube?"
Add Tags [?]
Answer Flag Question

Part of a Business Analyst Interview Review - one of 4,139 Amazon.com Interview Reviews

Answers & Comments

1
of 9
votes
n^3- 6n^2

The number of cubes are n^3(volume).
The number of cubes exposing one or more sides( 6 *( n^2) - all cubes on the sides.)
Number of invisible cubes are n^3- 6n^2 .
- Vivekananda on Jun 7, 2012 Flag Response
0
of 5
votes
Isn't the answer none since the question says "completely invisible"? every unit is visible by at least one side so any sub cube (made of these units) has a portion exposed.
- luis on Jun 13, 2012 Flag Response
3
of 5
votes
N*N*N-(N*N*2+N*(N-2)*2+(N-2)*(N-2)*2)
- ram on Jun 13, 2012 Flag Response
8
of 11
votes
(N-2)^3
- Sofya on Jun 25, 2012 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at Amazon.com interview questions and advice. All interview reviews posted anonymously by Amazon.com employees and interview candidates.