Epic Systems Interview Question for Software Engineer Interns


Country: United States
Interview Type: Phone Interview




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

was this asked in the online test?

- nisha December 02, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

So the layout of red and blue tiles are already given in the NxN matrix?

- tosay.net March 19, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

This is basically the game Othello.

If the blue and red tiles are already given, then you iterate though the red tiles, then find the lengths of spokes from the red square in terms of blue tiles. There will either be four or eight spokes, depending on whether the game accommodates diagonals.

For a long running game, you can maintain a data structure that has the color of each square and the length of the spokes from that square, for both colors. (If the board is small enough, you should just recompute on the fly). If you have Othello rules and flip a whole run of colors, you have to obviously update the data structure for each cell flipped, which means propagating out through the spokes for each cell flipped.

My gut says that the interviewer isn't testing your knowledge of data structures and algorithms with this question; it's more about showing basic coding nuts and bolts.

- showell30@yahoo.com March 19, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

is this a question from online assessment?

- maillist.danielyin@gmail.com November 25, 2013 | Flag


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