Irvine, CA interview questions | Glassdoor

# Interview questions in Irvine, CA

Houzz Interviews in Irvine

www.houzz.com /  HQ: Palo Alto

116 Interviews in Irvine (of 447)

2.8 Average

Blizzard Entertainment Interviews in Irvine

www.blizzard.com /  HQ: Irvine, FR

104 Interviews in Irvine (of 241) / Part of Activision Blizzard

3.1 Average

97 Interviews in Irvine (of 603)

3.0 Average

## Interview Questions in Irvine

Sort: RelevancePopular Date

Jul 24, 2011

### Associate Analyst at Gallup was asked...

Feb 27, 2012

Oct 6, 2012
 Write a function that finds the median of a set of three numbers, also find the Big O. Can it be done with only 2 comparisons, or do you need 3?10 AnswersPick two numbers: A and B, Add the third number to each of the first two : (A+C), (B+C). Compare these two numbers and take the lesser of the two. Now compare C with the other member of the less number. The greater of these two is the median.I'm not following. Is this: say, B+C is less than A+C, then the larger of B and C is the median? If so, isn't this a counterexample: A = 2, B = 1, C = 3?Actually the answer is the next one: we could have an answer using only two comparisons. The main idea is that we need to examine one of the numbers to get into the segment created by the other two numbers. And another important thing is that one comparison could be used to definitely determine for both two segments created by two numbers. For example we are trying to examine number A and we have two segments formed by B and C numbers: [B; C] and [C; B]. But considering that for determining if A is in the segment created by B an C we need to make the following comparison: (A - B) * (C - A) >= 0. It is easy to notice that if A is in segment [B; C] (B is less or equals to C) we have both multipliers are positive but in an opposite case when A is in segment [C; B] (C is less or equals to B) we have both that multipliers are negative. If former comparison is negative - then number A is not in any of segments [B; C] or [C; B]. And here is a code of function on C/C++: int medianOfThreeNums(int A, int B, int C){ if ((A - B) * (C - A) >= 0) { return A; } else if ((B - A) * (C - B) >= 0) { return B; } else { return C; } }Show More Responsesif (B-A) > 0 if (C-B) then B else C else if (C-A) > 0 then A else C a=b=c ?First get two numbers: x = a - b y = a - c now there are four possible cases for x and y if x & y are both positive => a is bigger than both b and c.=> choose bigger of b & c if x & y are both negative => a is smaller than b and c => choose smaller of b & c if x is positive and y is negative => a is bigger than b but smaller than c => choose a if x is negative and y is positive => a is smaller than b but bigger than c => choose avoid GetMedian(int a, int b, int c) { int small, large; if (a < b) { small = a; large = b;} else {small = b; large = a;} // Check where c lies: if (large < c) return large; else if (c < small) return small; else return c; }@Moy: if the answer turns out to be small, then haven't you done 3 compares?Running Vitalii's code with a = 1, b = 7, and c = 3 produces a median == 7, which is incorrect. Suggestions?Vitalii's solution works for me.def find_median(a, b, c): ab = b - a bc = c - b if -ab * (ab + bc) >= 0: return a if ab * bc >= 0: return b return c

Aug 1, 2013

Apr 17, 2010
 Given Vcc and 2 capacitors A and B in series to ground, what is the voltage in between4 AnswersSomewhere in betweenVb=(Cb/Ca+Cb)VI mean Vb=(Cb/(Ca+Cb))VShow More ResponsesIt depends on the initial condition.... if both capacitors were discharged to 0V at first, and then one side is charged to Vcc, then the answer would be Vb=(Ca/(Ca+Cb))Vcc Vcc---Ca----Cb----gnd However since there was no initial conditions given , the middle voltage could be anything if the capacitors are ideal

Oct 6, 2012
 If you had a savings account with \$1, at a 100% interest rate, at what year would you have 15 billion dollars?4 AnswersUse the power of 2's to get to the answer.Log base 2 of 15 billionYou should know offhand that 2^10 is 1024, so 2^20 = 1024^2 is approx a million, 2^30 is approx a billion, then you need four more years to get to 16 billion. Remember that you started with 1, not 2, so the answer is 35 years, not 34.Show More ResponsesAfter 34 years you would have 16 billion. That is to say, you would have 15 billion in the 34th year.

### Personal Banker at Wells Fargo was asked...

Jul 17, 2009
 what do you think is the most important part of sales5 Answersfollow upOthers that would be good, Selling yourself and Building rapport or "Clicking" with the clientMaking sure the client is satisfied and walks away with a positive impactful experience (for referrals and retention).Show More ResponsesListening to the customer and understanding their needs to be able to offer a complete solution of services that ties back and makes sense for the customerBeing able to help the customer with efficiency, respect and patience

### Area Coordinator at Waypoint Homes was asked...

May 29, 2013
 What are you salary requirements?4 Answersi have an interview for the acquisition analyst position in AZ, is there any assessment test you have to take? and do they do background,education check and drug test? any help would be greatly appreciated, thanks.Yes they did make me take an assessment test that is pretty thorough. They also do a full background check, drug test, and credentials.Thank you very much for the quick response, i appreciate that.Show More ResponsesDo they hire people with class b misdemeanor?