Epic Systems Interview Question






Comment hidden because of low score. Click to expand.
3
of 3 vote

http://en.wikipedia.org/wiki/Burnside%27s_lemma

Burnside Lemma (in fact Cauchy found it...)

The problem is also there.

- chao October 03, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

3^6

- Anonymous September 20, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

how?

i think its 6!/8

1st color 6, 2nd color 5 ... and so on 6!
since 3 colors are same its 1/2 * 1/2 * 1/2
so 6*5*3 = 90

- Annonymous2 September 24, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

let the colour be rby i.e
RED= 1/6+2/6+3/6+4/6 (excluding 4/6 or 5/6 taking consideration of blue and yello)
Do this for blue and yellow also
then multiply all ur answer u get

4.6 as the answer

- stev December 29, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

It is 3^6.

Face 1 can have any of the 3 colors
FAce 2 can have any of the 3 colors
....
FAce 6 can have any of the 3 colors

- Sharath September 29, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

not, you underestimate the charm of symmetry.

Actually, it's not hard to just enumerate all situations:
note: in format a+b+c, a,b,c to denote # of occurrence for each color (small number comes first).
Now situations are:
a+b+c description # of difference cubes
0+0+6; use only one kind of color; C(1,3) = 3
0+1+5; use two kinds of color; P(2,3) = 6
0+2+4; use two kinds of color; P(2,3)*2 (why 2? think!)
0+3+3: use two kinds of color; C(1,3)*1 (why 1? think!)
1+1+4: three color all used; 6
1+2+3: P(3,3)*2
2+2+2: 2+3

just sum up, u get the ans

- geniusxsy September 29, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

why are combinatorics notations reversed (P(n,r) with n>=r is the right notation). But more importantly, the correct value for 0+3+3 is C(3,2)*2 since there are 2 ways (after considering symmetry - 3 surfaces all of which meet at the same corner or 3 surfaces with 2 opposite vertical surfaces and 1 of the horizontal surfaces). {also C(3,2)=C(3,1) so that part is correct}

for 1+1+4 the split up is C(3,2)*2....the first part since you need to decide the two colors that get only one surface. the 2 because you can place them on adjacent surfaces that share an edge or on opposite surfaces.

The final two are the toughest to explain so Ill leave it at this.

but otherwise a good way to represent the solution. thanks

- gen October 05, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I think there's something still wrong...
What is being said in this thread is that each unique combination of paints is basically represented by the no. of times each color occurs, i.e. (if colors are R,G,B, then) there is only one way to paint the cube with 2sides R, 2sides G, 2sides B
but this is incorrect...

- ace October 13, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

sorry about the text format, careercup website sucks on that!
anyway, final ans = 47

- Anonymous September 29, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

@chao
thnx..interesting n new article..

- garry October 05, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

U r welcome.

It is nice to see so many nice people helping out!

(I suck at programming and I need a damn job.)

- chao October 07, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

did u got d job

- heny April 20, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

one color only: 3 possibilities
two colors : (1 (1 side) + 2 (2 side)+ 2 (3 side)+ 2 (4 side)+ 1(5 side)) possibilities for any set of 2 . Since (3 C 2) such pairs it is 3*8 =24
three colors: all opposite or two adjacent one opposite => 3 + 1 = 4

total = 3 + 24 + 4 = 31

- Avanish October 22, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Its a classic problem called Burnside's lemma , search wiki pedia

- Neha October 26, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

A lemma is not a problem. It is a tool!

- Anonymous October 26, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

If I were asked about this question, can I simply answer "57", and present the formula:

1/24(n^6+3n^4+12n^3+8n^2), and n=6

??

- beyondfalcon March 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

n=3...

- beyondfalcon March 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

3^6

- Anonymous July 25, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

you have 3 choices for every side, so you do 3*3*3*3*3*3 = 3^6

- Anonymous July 25, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

9

If the 3 colors are RBG, then the sides are:

1 2 3 4 5 6
R R R R B G
R R R B B G
R R B B B G
R B B B B G
R B B B G G
R B B G G G
R B G G G G
R R B G G G
R R R B G G

- anonymous September 08, 2018 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More