A combinatorics question [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this questionIn how many different ways can a cube be painted by using three different colors of paint?
The answer of this is 45,
What if I change cube to cuboid? Thanks!
I am preparing for job interview and this question is from CareeCup.
First, you should know how 45 is derived. That is by the use of permutation and combination.
Since a cuboid has the same number of sides as a cube, they should have the same answer. So the answer is 45.
But it is important to learn how the 45 is derived.
精彩评论