Interview Question
Software Engineer InternsCountry: United States
Interview Type: In-Person
@Varun:- I thought through the same solution but i was thinking over one aspect of it. I was thinking that both the cubes have to be used all the time so both cubes should have 0 common as well but in that case we will have to miss out on one of the other numbers. But if we can just show single digit numbers using just 1 cube then this seems to be the only solution.
Simple : on Cube 1 : 0,1,2,3,4,5
- shyamal.pandya September 29, 2013On Cube 2 : 0,1,2,6,7,8
Now 6 can be interchangeably used as 9 that does the trick.