Epic Systems Interview Question for Software Engineer / Developers


Country: United States
Interview Type: Written Test




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

-3 x -2 = 6
6 x -3 = -18
-18 x -4 = 72
72 x -5 = -360
-360 x -6 = 2160

so next number in the series is 2160.

- learner123 April 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

-3+3*3=6
6-6*4=-18
-18+18*5=72
72-72*6=-360
-360+360*7=2160

- Priya Jain April 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Initial number is -3.
3 * 2 = 6
6 * 3 = 18
18 * 4 = 72
72 * 5 = 360

So the next number will be 360 * 6 = 2160..
Assign '-' sign to every alternate number in the seies. So the answer is 2160.

- pkala April 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

2160

- Sharey April 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

-360 * 6

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

-360 * -6 = 2160

- robert_wgq April 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This is to determine sequence, a topic from discrete math.

We seek a_n, where
a_1 = -3 = -1 * 3
a_2 = 6 = 1 * 3 * 2
a_3 = -18 = -1 * 6 * 3
a_4 = 72 = 1 * 18 * 4
a_5 = -360 = -1 * 72 * 5

By inspection, the sequence is produced by
with initial condition n =1:
a_1 = -3
and subsequent sequence given by
a_n = (-1)**(n-1) * a_(n-1) * n for n > 2


Implemented in python:
{
import math
def a(n):
init = -3
pre = init
print pre

i = 2
while i < n + 1:
answer = (-1)**(i) * abs(pre) * i
print answer
pre = answer
i = i + 1
}

>>> a(6)
-3
6
-18
72
-360
2160

- Jimmy Fung June 16, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Correction:

a_n = (-1)**(n) * |a_(n-1)| * n for n > 2

- Jimmy Fung June 16, 2014 | Flag
Comment hidden because of low score. Click to expand.
-2
of 2 vote

Of all the stupid questions, these type of questions are EPIC.

- Anonymous April 25, 2014 | 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