Some Qs asked by Google in its interviews from a big database of Qs

Some of them are quite funny but there exists fun @ Google also.

Personally which I liked –

You are shrunk to the height of a nickel and your mass is proportionally reduced so as to maintain your original density. You are then thrown into an empty glass blender. The blades will start moving in 60 seconds. What do you do?

How would you find out if a machine’s stack grows up or down in memory?

Explain a database in three sentences to your eight-year-old nephew.

How many gas stations would you say there are in the United States?

Solve this cryptic equation, realizing of course that values for M and E could be interchanged. No leading zeroes are allowed.
WWWDOT – GOOGLE = DOTCOM

Given a triangle ABC, how would you use only a compass and straight edge to find a point P such that triangles ABP, ACP, and BCP have equal perimeters? (Assume that ABC is constructed so that a solution does exist.)

Suppose you have a shell script that must write to a temporary file. How can you ensure that this file doesn’t exist and will not be overwritten by something else? (The correct answer to this is to use the $$ variable to insert the pid into the filename – as was suggested by writer of Q)
Assume you have a database table with a list of accounts and another table with a list of transactions. How can I find how many accounts don’t have a transaction.

Google gets queries from around the world. Write a function that will return a two character string representing a country code given an IP address as its input.

You are at a party with a friend and 10 people are present including you and the friend. Your friend makes you a wager that for every person you find that has the same birthday as you, you get $1; for every person he finds that does not have the same birthday as you, he gets $2. Would you accept the wager?

et al.

I would say, Google hire few smart alecks also in addition to geeks and nerds (but still I am not there and I am happy anyway :D) that I have been hearing for times :P.

Leave a Reply

Your email address will not be published. Required fields are marked *