I interviewed at Google, here are the GOOGLE INTERVIEW QUESTIONS!

Page 4 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

ultimatebob

Lifer
Jul 1, 2001
25,134
2,450
126
Man, I hope that they give their IT guys a different set of interview questions. I can't answer any of those questions because I do not come from a Math or CS background, but frankly I wouldn't NEED to be able to answer any of those questions to do my job.
 

hypn0tik

Diamond Member
Jul 5, 2005
5,866
2
0
Yeah, I worked out #6 and it turns out to be a flower type region. PM me for details of solution if you'd like. My initial guess was incorrect.
 

ones3k

Banned
Aug 21, 2005
444
0
0
Lol hypn0tik, good work. To work at google, you would of had to solve that in 15minutes.
 

stateofbeasley

Senior member
Jan 26, 2004
519
0
0
I guess I have no chance at Google then :(

<-- Can't even spot the issues in those questions.

Originally posted by: ones3k
Lol hypn0tik, good work. To work at google, you would of had to solve that in 15minutes.

 

ones3k

Banned
Aug 21, 2005
444
0
0
Even if you were the second coming of Einstein, you'd have no chance unless you had a degree from either MIT or CMU.
 

Hacp

Lifer
Jun 8, 2005
13,923
2
81
Originally posted by: ones3k
Even if you were the second coming of Einstein, you'd have no chance unless you had a degree from either MIT or CMU.

CMU? They have a famous comp sci program???
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: Hacp
Originally posted by: ones3k
Even if you were the second coming of Einstein, you'd have no chance unless you had a degree from either MIT or CMU.

CMU? They have a famous comp sci program???

Carnegie Mellon? Yeah... Ever heard of the Software Engineering Institute?
 

stateofbeasley

Senior member
Jan 26, 2004
519
0
0
Are you kidding me??? Carnegie Mellon has one of the top CS programs in the country.

I'm just a humble law student at Temple University. I wouldn't know the first thing about this stuff anyways.

Originally posted by: Hacp
Originally posted by: ones3k
Even if you were the second coming of Einstein, you'd have no chance unless you had a degree from either MIT or CMU.

CMU? They have a famous comp sci program???

 

jaybert

Diamond Member
Mar 6, 2001
3,523
0
0
Originally posted by: Hacp
Originally posted by: ones3k
Even if you were the second coming of Einstein, you'd have no chance unless you had a degree from either MIT or CMU.

CMU? They have a famous comp sci program???

seriously?? #1 CS program...i consider it more prestigious than MIT personally
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81
Ok, I can answer exactly one of those. Geez, I have no chance.
 

FreshPrince

Diamond Member
Dec 6, 2001
8,361
1
0
Originally posted by: DAGTA
Originally posted by: EKKC
i doubt people in google knows how to answer this.

which makes me mad why they test you in a job interview, that's just plain stupid.
good thing before i landed my current job last august, i been to 3 interviews and none of them tested me (they all gave me offers too, batting 1.000 :) ) I also accepted them all. lol

I don't. Google has and continues to make a point of hiring the best people that can find. That is how they are able to make such amazing software. The technology behind their massive server farms is incredible.


do you have a link of how the technology behind their server farms look like? or how it's all connected?
 

stateofbeasley

Senior member
Jan 26, 2004
519
0
0
Well, I don't know about #1, but certainly on par with MIT, Stanford, etc.

Originally posted by: jaybert
seriously?? #1 CS program...i consider it more prestigious than MIT personally

 

BigJ

Lifer
Nov 18, 2001
21,330
1
81
4 and 5 are answerable after taking OOP I and II, which is first year stuff.
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: ones3k
=========================================================
Question #1) Given k sorted streams where each stream could possibly be infinite in length, describe an efficient algorithm to merge the k streams into a new stream (also in sorted order).

This is a basic algorithm I came up with, in English.

Start by ordering the k streams by the value of their first item. Pick the first item off the first stream (because you know it's the smallest). Compare the new first item in the first stream to the second. If the item in the first stream is bigger than the item in the second stream, iterate through the streams until you find the first stream's new correct spot, and move it there. Pick the first item off the new first stream. Repeat.
 

TuxDave

Lifer
Oct 8, 2002
10,571
3
71
Originally posted by: mugs
Originally posted by: ones3k
=========================================================
Question #1) Given k sorted streams where each stream could possibly be infinite in length, describe an efficient algorithm to merge the k streams into a new stream (also in sorted order).

This is a basic algorithm I came up with, in English.

Start by ordering the k streams by the value of their first item. Pick the first item off the first stream (because you know it's the smallest). Compare the new first item in the first stream to the second. If the item in the first stream is bigger than the item in the second stream, iterate through the streams until you find the first stream's new correct spot, and move it there. Pick the first item off the new first stream. Repeat.

I kinda had the same idea. Sort the k streams by the first element. Take one off the top stream and look at the next element. I know that when you move this stream down to the correct sorted location every first element of the stream it passes goes directly into the final stream without needing to look at it. I just can't figure out the last optimization.
 

TallBill

Lifer
Apr 29, 2001
46,017
62
91
55 hours a week is a lot? hahahahah, ok

I work slightly more then that at 1/4th the pay. And I actually have to go outside and stuff.
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
Question #6) Given a square with side length = 1, describe all points inside square that are closer to the center of the square than to the edge of the square.
Why is everyone overthinking this question?
Isn't it simply all the points within the square with side lenght 1/2 centered at the same point as the bigger square?