Wednesday, January 16, 2008

Google Interview Questions Part 8

This questions are a bit tricky, lets see if you can solve it.




First question:

        1
       1 1
       2 1
    1 2 1 1
  1 1 1 2 2 1

What is the next number?

Second question:


What number comes next in the sequence: 10, 9, 60, 90, 70, 66, ?

A) 96
B) 1000000000000000000000000000000000\
0000000000000000000000000000000000\
000000000000000000000000000000000
C) Either of the above
D) None of the above




And here are the answers:

First question answer is:

one
one one (Since the previous line has one time one number)
two ones (Since the previous line has two time one number)
one two one one
one one one two two ones

So the next line answer is 3 1 2 2 1 1


Second question answer is:

ten, nine, sixty, ninety, seventy, sixty-six,

Each number has one letter more than the previous number, ten has 3 letters, nine has 4 letters etc'

Since "sixty-six" has 8 letters the next number need to have 9 letters which is
ninety-six

You can find more questions here:

Google Interview Questions Part 1
Google Interview Questions Part 2
Google Interview Questions Part 3
Google Interview Questions Part 4
Google Interview Questions Part 5
Google Interview Questions Part 6
Google Interview Questions Part 7

4 comments:

Anonymous said...

Thanks for this little insight. I've got to run and short GOOG stock now.

Anonymous said...

For the first question, is that the official answer? Or is it your version? Because 1112221111 is just as well an answer (each number is composed by combining the halves of the previous two numbers, and then switched)

j2ee said...

The second question is my own version, I'm pretty sure it's the right answer.

fabregas said...

Hi

Tks very much for post:

I like it and hope that you continue posting.

Let me show other source that may be good for community.

Source: Interview questions and answers

Best rgs
David

Links

 
RSS Feeds Submission Directory