Epic Systems Interview Question






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

Always bid minimum??? 1$ :))

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

YES ! =8-) Always bid minimum: $1. Here's why
Let V=value-to-seller and B=buyer's bid
If V > B then there is NO SALE because the seller would lose money.
The universe of solutions has upper bound = B and lower bound = 1
Profit for buyer P = 1.5*V - B
Since probability density is uniform, the expected value of buyer's profit P is simply the average of the max and min values.r
For any bid B, Pmax is when V=B
Pmax = 1.5*B - B = 0.5B
and Pmin is when V=1
Pmin = 1.5 - B
the average these is the expected value of bid B,
P(B) = (0.5B +1.5- B)/2 = 0.75 - 0.25B
So 100 is the worst bid with a loss of (24.25)
Only three bids do not lose money. 1 wit EV 50 cents, 2 with EV 25 cents, 3 with EV zero, breakeven. ONE IS BEST

- Anonymous March 10, 2013 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

Without answering, here is a clearer explanation of the puzzle. Pretend you bid 40 on the oil well. The actual value has an equal chance of being any number from 1-100.

Case 1: The oil well is worth 57. The owner decides not to sell it to you because that would be selling at a loss

Case 2: The oil well is worth 30. The owner sells it to you making a profit of 10. The well is worth 45 to you (1.5*original). You make a profit of 5.

Case 3: The oil well is worth 15. The owner sells it to you. You can't back out. You've overpaid by $25 dollars.

Clearly bidding $40 is a losing proposition. If you bid $40 and the well is...

above $40: no sale
between 27-40: you make a profit
between 1-26: you lose money

This logic carries as you keep decreasing the number. The probability that you lose money is higher than the probability that you make money.

Then we have "Only three bids do not lose money. 1 wit EV 50 cents, 2 with EV 25 cents, 3 with EV zero, breakeven. ONE IS BEST" from Anonymous

This seems right, except when I do it in my head I come up with Expected Value from bidding $2 as also being 50 cents, but it's late at night and I could be missing something.

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

expectation for them: 51;
expectation for you:76,5.

make a bid between these two...

(is there a unique answer to this question?)

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

You need to give as much as possible of the feasible amount so that they don't bail out of the agreement. So you need to offer 76.

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

I think answer is $75.50. Here is how?
to buy 100 oil well = summation(1+...+100)= $5050

with 1/2 chance of success in each well, 50 of 100 will succeed. Each giving profit of $50.
total profit = 25*$50 = $2500

profit + cost = $7550, so we can bid $75.50 to each well and make sure we do not end up in loss.

- AmitG December 18, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Why only 76 ? why not 55 or 67 or 40.. I mean how you approached to this problem ?
I din't understand the question itself. Please somebody explain the question.

- Brian February 15, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

can ny1 explain the soln to the given problem/puzzle?

- newbie June 05, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It should be $2.00. With a 50% advantage you will still be able to break even if the value is $1.00. If it the value is $2.00, the owner will accept and you will turn a profit. A bid any higher and you run a high risk of losing money.

- Anonymous September 17, 2015 | 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