QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 10356|回复: 30
打印 上一主题 下一主题

Google面试题,你都能答上吗?

[复制链接]
字体大小: 正常 放大
mtlca        

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of
9 j3 a; W1 H3 L1 Q
+ N+ {7 z6 F6 ~course that values for M and E could be/ t* _! l$ s4 c+ H

2 ^' j' }9 \3 q+ s, |interchanged. No leading zeros are allowed.
: o& i' Y0 p' a* w6 Q. w
% u  ~  ]0 z5 ]% e% B  s0 @* L- s5 l9 P9 W& {

% i8 k  x7 B7 I, I& b: L+ dWWWDOT - GOOGLE = DOTCOM
, c6 C- V+ a; n, j7 @1 b1 P
9 ]7 r. T* i3 m2 ^1 l5 S3 J+ M4 E# W9 H3 T; h* ]& X1 J0 S7 Y
3 p) i! ?! Y6 S
2. Write a haiku describing possible methods& j) E. A. @/ e& ^
) B  b. \( H4 \9 }2 ], W
for predicting search traffic seasonality.
0 T4 x5 N+ v$ g# W' Q: u$ u& k" d
7 m6 |% k! t; ^

" R* q4 l1 R1 |+ a# M7 M* j# `7 X3.) V' T1 [* y1 Q$ [9 u. _
/ s5 f% d  u5 k+ e
1" q: M3 n0 S6 {& u" A7 _9 U. ^0 I

- i' u/ k# N- D4 @0 k" A* J/ s1 12 q) e/ V$ F* X5 s
# C" V" i# n; B  ~
2 1
8 S9 `; N+ s4 _7 y3 p& Y) \/ A$ W) b1 P3 y. P: u8 ~
1 2 1 1
7 |9 x7 u! k* v8 H# I% |8 x+ S6 {6 M) H3 ^' N; `5 U+ Y0 t4 m" N0 e
1 1 1 2 2 1: l  j: W# d& s2 c# f3 Y1 |
* g- j* n% V5 O& W. f* C; E

2 j$ B8 e0 D$ s7 o( i& j' c* r2 O! A% d" D
What is the next line?
4 W. j0 N; }2 z/ d$ i7 ]2 I* A" w, I  P, @2 Q' d; {# O

& ?9 E/ f8 J! I) n1 k6 }3 P! Z* Y8 u
4. You are in a maze of twisty little passages,# @8 U; x9 d! V* a- g0 c

7 v  N! K3 X+ F) ball alike. There is a dusty laptop here with a8 |7 V0 [" T+ p/ q+ j* m
3 o1 f; C' \- a8 w) n2 u1 o0 e
weak wireless connection. There are dull,2 {. A9 Q! O8 K
% Z8 ^; z- s( m  O
lifeless gnomes strolling about. What dost
8 E$ s8 N- f4 x5 y' q8 G# S5 U$ N
! n0 I+ t3 A- B2 e+ c% k; Fthou do?
( c8 d% I9 C/ S9 ?6 y# ]
2 n6 }" r/ f# M9 P' J/ [% ]2 v3 ^8 l$ E* ^8 f7 F/ \
) H4 T' h. S/ C
A) Wander aimlessly, bumping into5 P7 P, B: k1 L
, l2 _0 c9 {4 t0 i+ @/ S
obstacles until you are eaten by a grue.2 K& M2 ]* }2 K# K* h2 G

% C* c% J* k3 T' Y# K) r9 i$ t$ [. F7 MB) Use the laptop as a digging device to7 K* L7 J1 m, }- D1 n
; w8 ~# n4 ^# z2 e0 h
tunnel to the next level.
3 d  K: J2 P/ H. T( V
2 S4 I0 M  X- m6 E& H% a/ wC) Play MPoRPG until the battery dies3 ~7 y" U/ n9 \' W  h1 Y2 r
8 m) D- _) D, A( [* ^
along with your hopes.! h2 p; m- V# ?# g' {% O8 v. E
3 S" _. Z# X7 P! s9 l) @; \
D) Use the computer to map the nodes
: h: r+ n! B5 f7 x2 y3 l. ~- v9 Y+ X* S0 L
of the maze and discover an exit path.
6 k3 \' D: K+ m6 X5 r' z5 [3 \$ o0 |3 C3 @  \6 w1 o9 j
E) Email your resume to Google, tell the. d2 D7 {+ c9 a

3 G  H% O! ]7 L1 H7 c( Hlead gnome you quit and find yourself
4 d' {: N! _. I/ `! Y1 ?- J7 T" }. t
in whole different world.
. c- m* G1 o/ @# q
% X9 S7 d( h6 D" E
6 }# m, Y  K; l$ @
3 u& v0 a" R# Z5. What's broken with Unix?
& }- I  ^3 A5 u' F# m5 k) Y# l  i3 B" @: V' w" J0 o( r
How would you fix it?: F7 I2 ^- c2 {+ \1 r" h1 @

- f( J6 ?9 g9 y0 E9 }5 A; f$ G. l
7 A8 H9 X4 B( U( S3 e% R
2 ?% |) g# V. n( t& v, R+ l6. On your first day at Google, you discover
# y$ I! ^) c7 g0 c4 _3 P1 j
( b( V, j# Y; ]that your cubicle mate wrote the textbook
8 P' `$ {$ k4 [8 ?7 y0 [2 e1 M! ~* v1 c
you used as a primary resource in your first
0 l! ?6 C8 r/ s) Z. r* c. h, g* a5 K- Q- h* F
year of graduate school. Do you:
$ J5 h# \9 u* {$ [% h/ u5 x" {! o; f2 s' l& t3 i; }/ m. \" f( @/ Z  I
3 a$ Z% Q# I+ }% Z8 L' K6 d8 [( p
9 t3 N, O0 M$ w( B
A) Fawn obsequiously and ask if you/ k& K- v' H8 O3 ?8 t
) G/ K# X0 f2 I. D+ q8 h0 ?3 k
can have an autograph.
' z% d. f3 `( P+ c2 t
1 d! _9 ]" G! N& V- O4 @B) Sit perfectly still and use only soft6 \, p3 K" G0 w9 m

8 Q2 S, v$ b2 r" v- G+ Skeystrokes to avoid disturbing her
  P2 y- g% I7 b
) c7 Z5 T  ?9 [/ p) Yconcentration.
9 A. N+ ~  Y6 Y: o) p
3 z# t; y* ^; m' ?C) Leave her daily offerings of granola
( j8 n4 {# i9 o" X& P
# f( e1 J, G: B& n# A) Y7 dand English toffee from the food bins.
8 c% m. ?- A; R( B+ c7 Z8 r9 E2 [4 T" ~# a: p3 I0 r, Z& j
  _. f  ]/ l- i/ |! m1 I% V' o, R
9 W# `3 L. o) f4 W. k3 j
D) Quote your favorite formula from the6 S5 j! W6 Z  P$ {
4 P) e- j8 u  Y, n0 d: |& l- }
textbook and explain how it's now
) n8 ~) b8 q4 R# |5 g1 u# {) w# u$ q# I( D7 W+ V
your mantra.
8 a: H0 t, i# P. Y% T5 o4 j- A
6 f. k) D/ [: \- c' ~5 [1 AE) Show her how example 17b could0 i9 z' Q& h2 ]4 }' i0 q2 g( e% g

3 D" ?# j  Z* h1 e! A' B& Lhave been solved with 34 fewer lines
) g5 @- ?- i0 F7 b1 B# \* b7 |2 T, _* g" L3 _1 a9 l0 g
of code.
' s7 M; a. q# B. A5 k  q: A( V3 l
3 `1 M: W. x9 G" x) _7. Which of the following expresses Google- g( J- z+ X4 N/ {' e1 W1 I. Q
4 W; h. P& ~. f% K4 v2 i; J
over-arching philosophy?
" e+ g* l9 v3 Z- U. R. O" t3 o0 w8 ?8 m. O

' Y0 L0 l4 F( U7 y- X& [
( b' P) b; u/ P) y! t5 p( u3 a8 zA) "I'm feeling lucky"
5 w7 `3 E; \* m& E( \3 K- c4 p+ F8 C
B) "Don't be evil"% [8 i. U( X5 t, i

. Q8 t/ C% _2 f" l+ HC) "Oh, I already fixed that"
2 Z# a+ z) z4 Q! v3 I0 `& k1 p) f7 X, [' R& k4 X* T+ J
D) "You should never be more than& o1 H, N) `  h; n4 ]
7 j4 G/ E& `/ a2 u2 A2 N
50 feet from food"
# \7 [: z3 _( g. X' K! h5 j) `3 i# i8 n; n, m
E) All of the above3 P4 M% c- x* p9 F+ v
6 K  c- h, }$ U) S( s, u
) {( @) I, G1 H  W6 R8 F
9 }% Q1 a# C7 f. H/ Q2 ^6 ]$ N
8. How many different ways can you color an4 b" ~, r" M9 \% H8 t, V
' T3 n& ]3 |2 _6 g
icosahedron with one of three colors on
! Q! m+ K5 j- ~. R
+ w) R4 t- E0 ?2 q# Oeach face?5 `. T3 L, y/ D. E

* T1 z  k; v1 g9 `4 Z) Z9 T
$ k; J  c- {* _& O- G. L* [: {3 Q2 y: X
What colors would you choose?) ~+ M$ {: m3 z5 C! b
# T% f) T, n+ \: \7 n( F5 Y; @
1 @# w) t5 J( {# d
9 H0 M( B& ^$ M( |/ @9 W
9. This space left intentionally blank. Please fill it. K9 V# g0 {: z0 j2 I. y5 g

8 Z+ M- G2 f) p) P) ^with something that improves upon emptiness.6 d% K6 m8 G7 O

6 v; F% \* Y3 {8 P8 C
, C2 ^% }: A5 {+ u" L4 o' |& W7 ?
  J6 h/ O0 e9 O/ ], `" g2 D  ~10.On an infinite, two-dimensional, rectangular& j0 E3 M: y- i

" ]3 T2 o4 a/ V1 Y0 X7 Rlattice of 1-ohm resistors, what is the
9 D2 Q' Z: V# @8 A  Q' k9 i. j9 ?5 H' q
resistance between two nodes that are a# m" c3 ~2 k7 C
3 R$ c( [& x! m
knight's move away?
" w$ B3 o# v7 x. ^9 {* I# i/ F* _  X4 \4 ?- K6 k( I$ F3 o) `

& o- W8 f9 N9 I6 Y# \% I
" ]0 a3 I% H) P7 R5 ^5 p11.It's 2 PM on a sunny Sunday afternoon in the/ t% Q6 ~9 i. O" v$ y8 M  T' \: f+ S

& x' W7 k! \1 Q& ?+ }) ^2 vBay Area. You're minutes from the Pacific9 C/ W3 I& p9 Q* S1 @/ S

' Z- T9 d: l+ v+ H- ?" f6 FOcean, redwood forest hiking trails and world7 h8 D9 `  H% ~2 g9 v2 Y8 U. w

$ m/ u  R& p& `9 C( e/ O8 W- O4 Lclass cultural attractions. What do you do?
$ E, u* w5 m8 Q
* m7 |1 G4 J2 R: w2 n
$ W/ a5 V+ b: v4 f: m* j  b9 R$ |' i2 n& [" Z4 Z8 G
12.In your opinion, what is the most beautiful
8 u5 R! d* N2 m3 O( O: |. b: _0 b3 G" V
math equation ever derived?+ w3 q0 _" P% F5 l

9 R* L$ ^  G8 |) W
6 y9 j( t9 l* W0 Q: W( T+ m" |% D7 ^
13. Which of the following is NOT an actual% }0 x/ M- L6 f9 X7 k- C. L

/ O8 N! m4 s; @% |interest group formed by Google employees?% |0 K6 x2 X$ K7 p( O
# V: |+ [# m' R
! c2 E! i& }# [  h8 |

- q+ J% {) A/ d  i' AA. Women's basketball& h: P; O, O9 c6 U
1 X% Q+ C% d8 W
B. Buffy fans" m  w- K2 j' F$ S8 Q; p. Y4 S

$ j. B1 o  o, s3 e( Z7 j$ kC. Cricketeers) D7 F( [! k/ B5 t/ r6 R

% @/ m4 `& G0 j7 d5 ND. Nobel winners
2 }2 g) L. _" P! k; Q* l
3 v4 i5 E, a; F: PE. Wine club
7 q! n8 q% q" w4 f7 o1 X& G, W+ I7 n. E2 p
+ l; W# f, v9 V6 ~
+ q3 ^. b/ E! X+ }- S
14.What will be the next great improvement in: L* f  E" ]2 |- C
: q$ V; G- v* y; c
search technology?
$ ~9 U" W/ ~" y* H0 h" K; _4 {. E, u! a) M+ A2 z

  `* [% S* f6 O% P& m* S
  p' w: _6 Y( u( G4 k15.What is the optimal size of a project team,% m4 i( n, ~9 C! j
! @% [+ Z, w/ a
above which additional members do not
5 F$ J/ n9 j! j/ l2 i& U" D' r% T7 V+ v" E
contribute productivity equivalent to the
# _$ u0 ?3 L: M& u+ Z! G% o  [9 O6 m5 c7 t1 j1 O
percentage increase in the staff size?# L8 J: x6 L" t5 {( q
" e, w& e/ G) `# `6 _
A) 1
& t( v! Q+ ]3 D/ B  Z- |
6 P% S7 s0 p8 M0 p% cB) 3- O- D, I- V6 b) f4 s$ }) g6 ]& v
" ^  o( Z2 z% v" x# E5 d
C) 51 v; m0 |" q4 L0 J, ?& u+ I$ ?
9 I+ T- V$ R( ~/ v+ Q2 Y
D) 11
) L4 v9 n7 l4 G/ _" x0 b! y
2 d0 k4 ~, g, oE) 24
" c' d/ D( \; e2 T" h  F. W4 Q7 G+ N* Z- M
9 Q/ v  Q% C, H/ Q8 L, s5 l
4 [9 |, r3 _% I" K1 P& ~* J
16.Given a triangle ABC, how would you use only
) J3 e# s4 m  ~0 t6 @" x4 D3 S5 {0 p% q
a compass and straight edge to find a point P
3 g+ E/ o6 c+ o# _9 H" s
( L9 s, M0 s4 Csuch that triangles ABP, ACP and BCP have
6 u, q) Z* N; w7 [5 I/ k6 P9 |" L* ]. J: q! P
equal perimeters? (Assume that ABC is' H/ M/ H6 T1 |% T8 T

0 o1 B/ w+ _2 N6 W3 o  Yconstructed so that a solution does exist.)
. {$ X% O6 c$ J0 j. N( B3 X: b/ [: S' ^
+ x9 s3 J0 d, o$ |
/ U8 @* H: i, O# P0 l/ I: W
17.Consider a function which, for a given whole
8 {1 L) ]3 l  a' p3 A9 H0 ?' K
. C  Y8 a3 b1 Z' w; F2 onumber n, returns the number of ones required& X6 q& _4 P: I5 E( g6 x
; G1 z6 s% `) B0 {, C
when writing out all numbers between 0 and n.
' c% @( t. c( [: K  p: t9 w) E
2 j3 L4 a& \+ ?7 f8 r/ U: W' }For example, f(13)=6. Notice that f(1)=1. What
" ?9 w4 s! c5 K: ?2 X. }( l/ r9 A9 N2 P+ W
is the next largest n such that f(n)=n?2 |) j7 Q# e2 Y: I
* J. h# ~, G- f7 @# t' n; v
1 L8 |- F* M5 }& b( L3 {9 [
" g1 \' P4 `2 W' x1 s
18.What's the coolest hack you've ever written?
5 i, B/ X/ h' ?2 j/ ~& i" W; N
! V* }5 \5 ~/ c. X& ]) ^) C+ Z" K( N! i( m7 B# e2 z1 J7 U! \
1 l# |: e0 t$ v( M# A( a
19.'Tis known in refined company, that choosing3 {* Z2 L- P# e! W; t1 l
- _# b0 q* E# C/ Y2 G- \+ R
K things out of N can be done in ways as
$ [7 Q9 u% z" s# o7 `2 U8 W9 H; ~9 ^( G4 i+ s' s+ k# I
many as choosing N minus K from N: I pick K,# W6 h% A: a" D0 M% a. @

$ m  w7 g. X* C0 Q( tyou the remaining.
" J1 r* W$ c% u3 ?9 N3 V/ {- {0 O
( L+ J1 o# ?; L5 v

* E$ N* H. ^( N7 t, k3 oFind though a cooler bijection, where you show) i* o9 W& }3 g0 G' j

) j1 V# r) d( ^a knack uncanny, of making your choices contain, t$ f" @' d( k0 n

2 |! h; ~, L9 \& ^3 ~all K of mine. Oh, for pedantry: let K be no more
7 H& u; L/ x! M+ @, V8 e1 X% Y8 M4 t# N
than half N.% m% ?, ^' K: D( J
: k: I+ V  Y7 U6 C0 e% w: h' M- m
1 g2 K) y6 Y; E1 z) K# Y; p
8 x5 o9 o4 C3 K6 j6 a
20.What number comes next in the sequence:- }& s9 n  ?4 I9 ]6 U$ z
+ G5 f/ M, C+ ^+ `3 t# @
10, 9, 60, 90, 70, 66,?
, p+ Q1 q+ S! e+ C4 N
- q' w6 e0 W8 J! Y+ l- ~* `: G/ g) Q# P, ?7 ^6 I

$ r' q1 c( z- b- h4 y$ XA)96" d, m& l. b+ [5 C" e% b  ?
2 {' [* n* y- |6 S( t( D1 y: ~
B) 1000000000000000000000000000000000
& R3 s  L) C6 o; p3 V
. a: ^9 |* Y2 y1 c, U0000000000000000000000000000000000
# f( {" T2 l3 G' G& Y% f$ M' `% W$ F* D4 |6 q; g
0000000000000000000000000000000002 N; D! w3 E" X* ?
6 T) c2 S! g( a6 F# V
C) Either of the above
" e9 Z* I0 I" m: g1 g* c6 p7 C* |" |" t( e& T
D) None of the above8 o  w1 l* ]# R8 v+ P( k: I
) l! `- O  q- V

8 ~! c1 U; U& p0 U" `' N& B2 |3 r% h6 o% J
21.In 29 words or fewer, describe what you
4 }. i; ]7 u8 l% [: i1 `& m& t  ]% w9 _( s0 [$ b6 H  o7 W( S
would strive to accomplish if you worked9 G: w" ?3 E9 B7 J2 h- m1 ^. }9 U
; y9 ]' R& Z: X' C4 Q! Y
at Google Labs.
zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
neusut        

0

主题

3

听众

75

积分

升级  73.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

Florence        

2

主题

3

听众

58

积分

升级  55.79%

该用户从未签到

新人进步奖

回复

使用道具 举报

fly_eager        

0

主题

2

听众

23

积分

升级  18.95%

该用户从未签到

新人进步奖

回复

使用道具 举报

1

主题

2

听众

37

积分

升级  33.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

1

主题

2

听众

37

积分

升级  33.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

wyf287        

1

主题

2

听众

26

积分

升级  22.11%

该用户从未签到

新人进步奖

回复

使用道具 举报

0

主题

2

听众

18

积分

升级  13.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

yirongshu        

0

主题

2

听众

182

积分

升级  41%

该用户从未签到

回复

使用道具 举报

shease        

0

主题

2

听众

19

积分

升级  14.74%

该用户从未签到

新人进步奖

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册地址

qq
收缩
  • 电话咨询

  • 04714969085
fastpost

关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

手机版|Archiver| |繁體中文 手机客户端  

蒙公网安备 15010502000194号

Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

GMT+8, 2026-4-20 10:29 , Processed in 0.456616 second(s), 102 queries .

回顶部