QQ登录

只需要一步,快速开始

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

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

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

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of
2 z3 C; U# r( ]: J+ H3 ?% d- [3 C
5 F# g1 ?# j3 P9 r1 ?$ Mcourse that values for M and E could be9 {' c# o4 U7 N8 c

. y+ X& j6 M/ |, d! Uinterchanged. No leading zeros are allowed.
0 M( a, ^) T+ X! w5 J. C; l  }4 o9 I: c2 [) y6 |3 Y9 z+ Z
1 X* F) g, n9 `5 D2 m. _: Z
9 D9 N3 G9 D2 N* B
WWWDOT - GOOGLE = DOTCOM) I3 U5 |5 ?8 o  A/ e/ m8 G
# B! y( o, R6 {
4 k' H9 q. N* V: L) Z3 L5 E

* V# [0 `% l+ ?5 K3 v: G. z2. Write a haiku describing possible methods7 o$ r6 }  U0 K0 v* m% M8 W! z' t' P3 c4 L
: S  g8 C0 @# A' ~! k9 Y) |
for predicting search traffic seasonality.+ ^; V& E2 p) ]& k$ Q1 k
* N8 m/ B+ ~* ~$ P/ w- E

% H( \3 f, h  |- e$ L$ Y
/ ]$ f" K, E* y! j+ h5 D+ m3.
7 v! `( d7 m2 }. g, @, n
. k8 y  z7 p. v  ?- E15 x0 Z1 G2 q$ u* `

4 p: d; G6 x/ C: y0 N% E8 b1 1
' a/ w0 n4 x, X/ V% h! @2 |# _2 M1 }* B
2 1
8 Z& D8 F9 n$ v- Y$ x$ y
8 l8 V  e7 J& C; n0 i1 2 1 1& {' N" S- ^& N
9 A2 V: T( l# u8 Z) ~! A1 z3 J
1 1 1 2 2 1" O/ u3 l  M- _! J3 S7 o
# F6 ]1 Z  r6 i0 X9 \5 o2 Q
4 I4 x. E" D( _: e1 D: @

9 h/ R8 A! Y3 fWhat is the next line?( h9 P$ d6 @; g& B: o5 n9 B

. L: v! |8 x* N7 r- W
* `+ D; B8 o  y
/ p8 d4 ?5 o. M" E4. You are in a maze of twisty little passages,& Z7 j9 Y" w- M# a

& L2 A3 `( x( ?- g7 k$ q$ Fall alike. There is a dusty laptop here with a% y: D7 R+ o: u
7 M3 B( X0 e! N/ x" w7 \7 u, p
weak wireless connection. There are dull,! e4 E$ l% ^3 `& s3 d: N

" Z; k& s# }- b' c+ V8 Ulifeless gnomes strolling about. What dost
, n5 q0 V* Z! Q# D( _+ O6 X/ i. M* V1 L/ E1 X0 L% ~
thou do?& o0 c' x9 Y  e  U

$ S8 Y/ A  I) K3 V4 j! f9 S% m" p; T. x# Z1 b( X
$ g. H$ c7 E& U, L8 h4 \
A) Wander aimlessly, bumping into5 S8 r# d1 M  {/ q

: q: t2 k% A' L4 Dobstacles until you are eaten by a grue.
$ R, [! ]8 `: v+ u! l
2 s5 b0 D% g+ V1 z2 gB) Use the laptop as a digging device to. Y! t8 X+ n7 I9 \- _

" y  ?4 |9 Z" C% ltunnel to the next level.
3 `; x: p8 }. O. n; A8 X: m, i# p  Y2 c) x% J8 i
C) Play MPoRPG until the battery dies
% ~0 K# w) o% G. ~& ?
( X0 H* C6 \+ d4 valong with your hopes.7 A' A2 |8 x% s: F* z
" z/ ~, _. \' @, c1 ]
D) Use the computer to map the nodes
) g3 n7 `/ z- [/ g& ~( x$ m6 |
" r( N' K; p, |0 {2 j$ _of the maze and discover an exit path.
) N2 q. G5 O+ X) Z) H6 V6 R( q3 S- l
E) Email your resume to Google, tell the
; l/ Y8 O, \' B: V, M
' X& I( ?9 @& Tlead gnome you quit and find yourself" X; C/ N& I4 L# y
8 Z) ]& D! U6 P( m5 ^) W
in whole different world.
, o  j; i: F1 }5 R5 F9 m4 X" P8 W7 H$ e6 g3 j

4 \1 ^" }; B+ C  U7 o+ r3 ]" ^3 C' E9 R- Z$ @# j, q9 @
5. What's broken with Unix?
9 k# ~- B! a3 d* T1 e  M$ i6 _9 a9 z7 G2 Q3 F
How would you fix it?
' o2 k% ^) b/ p4 j
8 u; L2 u: a% y
: A' J  A. C; J* u9 f; z2 d; M5 n. l9 x$ M: q  s
6. On your first day at Google, you discover
/ d  L6 U8 J+ s, v6 K5 \& q0 C2 J  a+ G: l: l$ e& k& U
that your cubicle mate wrote the textbook
$ }# V' h) v! T8 q
& u+ X6 ^' w! x+ Nyou used as a primary resource in your first9 E$ ^5 Q" Y4 c  O  p

9 v7 h: [0 |' M. L$ M/ Yyear of graduate school. Do you:
; ^3 {4 y, D1 M; M2 X; H' p$ V  d6 x* d) O

# y7 z2 V  U! o3 y: ]
+ N8 y$ E4 p# M7 AA) Fawn obsequiously and ask if you9 }: g/ z8 @6 s8 Q+ ~2 B! ~. ?+ ?

1 ^: m0 K5 C7 O' Vcan have an autograph.( @  D% G; D& w* U
* D3 [3 m( H# _% s; E% P. D
B) Sit perfectly still and use only soft
; r' s0 h/ l: _/ e4 ~' S7 a2 [
+ T7 v2 J  D: E/ G9 pkeystrokes to avoid disturbing her
# W4 L* r8 D/ `$ ^4 r
% E/ Q7 l: j) ]& T# cconcentration.
' z8 E+ N" l% ~; k9 H0 b% }7 n! @* H( Q
C) Leave her daily offerings of granola
6 z2 {  l+ X( R- i/ l% D& L9 J" H4 d% S4 g( c: \
and English toffee from the food bins.
" S( S. `% W9 v% m5 v8 B
) J& P  D8 s% ?3 F8 N% U0 w  C- M/ @$ z

) ]7 u3 z2 S$ N8 ]D) Quote your favorite formula from the- r7 L. o4 e' ]/ f- N" Q: f8 P3 c
. o' t1 K# Q2 W
textbook and explain how it's now
0 c) e$ \4 ?! ?) D* M3 l+ D
8 X( H& ^' _! r* ~) d/ xyour mantra.
' w$ x- W' B8 q$ C, w/ c+ B! h
E) Show her how example 17b could
8 b9 |" v0 a+ h  y2 J$ b& A/ e2 H* L6 k  R2 M% c* |3 l! V8 c
have been solved with 34 fewer lines9 I  [' t0 |! u! `

7 A1 Y: F8 _5 e( V* dof code.
5 [7 ^2 l& H, e- @/ c0 r& U
! Y/ [( n+ n+ B7. Which of the following expresses Google0 U  R! j" j" y3 j1 T# d

( D4 o' l0 C& Z7 I# Q7 r6 ]over-arching philosophy?0 X7 {" ~% R3 O9 \9 i' |2 ^

0 P3 s9 p2 G3 {, x1 a! Q) s; T6 y, y- h& M
7 _3 A' }0 a8 S  h3 Y; s! j/ H
A) "I'm feeling lucky"- J  R% _4 p% E( s
& l5 m- l+ I; F: _6 G4 D; P
B) "Don't be evil"1 L( a' E( U+ l. |2 h

; f  t# ]& p/ v. `9 S/ Z2 JC) "Oh, I already fixed that"
% T1 Z8 a8 F4 }6 p9 q, d' g/ I
! _+ o) @1 p; H& PD) "You should never be more than0 q  N/ k: h. b
6 s( g* y8 A% F4 t+ j
50 feet from food"
8 \; a1 F% h: @% x
8 z3 K" l6 G" M9 @; j! _E) All of the above" w, R/ W4 P* ]/ E

" p; |' G" J6 G9 S, ?1 v
0 D4 w- U& Y7 I" ~8 A% H" ~2 A. I5 ?8 ]  v
8. How many different ways can you color an
9 ?: E9 G  ]4 `
: m) e7 I0 p! Y  c: P% n# w/ d* kicosahedron with one of three colors on6 i7 C9 K/ @* m" a, U
$ N2 n% X1 d  A) U* C
each face?/ i7 _8 o8 i0 r# L% R% e- K

3 z/ l& o9 P7 g3 w
  q) I2 E. P& s4 x
& E& u* e0 N6 Z) d3 G- GWhat colors would you choose?
- I+ c7 ~5 v; l- ?  i, Z2 |, R5 A
$ K! `/ G; X5 k9 n( @& J5 R4 v5 T! _
0 E' c3 D" o+ D* K: b* S
9. This space left intentionally blank. Please fill it
2 a4 Y' K' _5 K# _7 v
/ a4 [$ i, D/ b" pwith something that improves upon emptiness." Z9 ?- [" d$ \# Q

; s3 S1 q1 _% ~1 m( K7 L7 m2 I; |' m+ A" i, O3 P8 ^

. g1 r' b  T9 n- T. ?& `10.On an infinite, two-dimensional, rectangular
6 e& n' ^" X3 k- E" \7 a& b8 x3 k  `* Y7 E! Z1 x; S: K' E1 q
lattice of 1-ohm resistors, what is the
1 G9 T$ u$ u$ ]% e+ i+ H; a& x
0 g) Z3 j+ `; V- Dresistance between two nodes that are a
, K5 [& I0 \, L3 p0 t- i4 y! [7 q5 u/ |
7 U# \" e, K+ xknight's move away?3 ]$ \. a- f" a- b4 b/ c8 E
. ]5 f/ n8 G0 h" S3 D$ |

8 L! s9 K' k, K8 g( t# Y8 c* e1 o! a' t, R; _2 T
11.It's 2 PM on a sunny Sunday afternoon in the7 B) Q. M( J" \. b7 H6 G7 q- N0 A
9 `: F: M+ A) o
Bay Area. You're minutes from the Pacific
, N9 _( R0 J! }* T0 R$ j9 U/ L' ~$ K8 D: ]
Ocean, redwood forest hiking trails and world8 G$ N) s& b$ _0 a* q

- x6 e8 q+ a- B& t- v* Bclass cultural attractions. What do you do?
/ W$ B$ }$ G% h+ J
! i6 l2 |( l. `/ C! @/ n
: w! C; j9 a0 p) D) p8 F* W
+ J# i8 ?# {$ \2 M; M12.In your opinion, what is the most beautiful
% k6 [2 Y. p/ ]. r" u0 y* T& C! b
math equation ever derived?
; `( M5 t# k. T/ k5 f0 q
$ m/ p) n$ D' Q3 Y' i, g- m" W  N9 }9 g! W% ?7 H

, ~: j/ i4 G  S" @% }% D13. Which of the following is NOT an actual' N& Y% G2 k4 d* o5 {

* T, i2 W" N# A3 K9 y3 ^interest group formed by Google employees?+ O$ \! Q5 k0 j' \+ U1 C5 T( e

" }8 R+ G. w7 D. ~/ a: t+ Q- o; w8 R0 O! x( O& b$ B% B7 F
+ o5 I- e2 A# ]$ v
A. Women's basketball
( H, V& _! y4 o. W. u. v" D  X, k) j0 O/ y+ Z; l* k& q- w
B. Buffy fans* @5 ?8 M8 J' ?" D6 e
) a+ {7 [7 m) Z+ {& Z+ `
C. Cricketeers
  q: F* W, }( e8 D+ N! ]+ }6 I/ P3 g# E- g- |. y- f) F
D. Nobel winners! A6 R0 h& c) ^/ {

! L, v- q5 P6 b/ ]& oE. Wine club
/ u& l# c( S: K0 n  r/ m
8 g/ j+ Y' {" I; h9 D# X5 ?/ W/ @0 J

* j, M) [# Z% n1 v" S  H14.What will be the next great improvement in) B9 C; W# C, o6 b  J

' @- e2 O# y3 S+ K- U$ Fsearch technology?
) D9 |6 @7 Y6 s$ G7 q
$ L) b3 h& n$ ^# ]4 e
. w8 Y' o" k6 r+ j
; V7 F6 x' r/ E: p15.What is the optimal size of a project team,* Y) z& O& e+ S5 Z2 Q; t* i* o3 M

" _* U! }! B" \2 o' Uabove which additional members do not+ E' }! |9 ^2 j5 W

! C* q7 {; e  @5 [6 O. Lcontribute productivity equivalent to the
, Q( l7 q0 T) Z( a$ X8 ?, a- M. [+ r9 ~; n! @( }$ ?& c6 e$ `% ~# \
percentage increase in the staff size?2 O3 B: A; j. E% [! k: o

+ A" y( U3 T+ l) _# j8 {A) 1
0 {6 P# x$ n* p& _; a1 U& U
# K5 ?8 T, ^5 M7 A: eB) 38 D; e2 y7 K6 W+ P/ V3 p( m; _

7 r$ q) i3 {* {/ hC) 5
% z  d4 g" S& D. B) f- ~0 _+ u$ ~3 e5 }& R- J$ ?
D) 11
, D) }) K2 T5 J- c0 [( r8 o! z# y  T+ Z: P' j8 E; N
E) 24
) _- C# s( k' \, c, d% f& E. ^/ Y( L! h( \) w

5 ~' K1 p) T' c  H2 ^, ^4 _
' t4 o3 Y# s  w! ]4 U1 {+ c16.Given a triangle ABC, how would you use only# [! R) I/ `# G+ z9 z7 |. c4 Q4 `
$ N4 J! r# J- [- [! o0 X: K
a compass and straight edge to find a point P3 E0 \5 [' ^, w, T2 Q  v4 u
* c6 L1 R- w' A6 O/ P  t
such that triangles ABP, ACP and BCP have
6 P6 e1 I  v9 m3 X% t5 y1 p' ?" c3 n
5 H: ^( O0 H) Yequal perimeters? (Assume that ABC is! O) x4 @: \! b! r" k3 Z
; V2 R; s6 [4 E: c. E4 J. {
constructed so that a solution does exist.)
1 e2 r. [3 z9 B3 {' Z
4 d7 I- j' [5 x. e0 G% v* H* u# s
2 o, r; ?- r" b% h) x$ G9 J
17.Consider a function which, for a given whole
  ?* A* J4 t$ R/ a- X
; U1 V! F0 e5 Q5 L7 |% U1 n) y6 }number n, returns the number of ones required; V$ P8 r% ?/ p7 D

, }. e; |( Q1 Ywhen writing out all numbers between 0 and n.; ?# r. d1 M6 k( E, Y5 `
  D) P- |  H2 g/ E% @& l$ q. m
For example, f(13)=6. Notice that f(1)=1. What
( H$ n4 O' D. N- _
! m) v: [2 S8 R2 bis the next largest n such that f(n)=n?5 L: k, }$ c; M! k- y
5 Z/ X& |! C6 i+ c5 N$ V1 B+ M
6 z. O/ A0 t+ q* {/ z, |

+ ^# l5 Y/ X- G- w6 y6 u/ K18.What's the coolest hack you've ever written?. {" u7 ~. Y$ u9 ]! @6 H

0 L4 x0 [! [1 T6 J
4 c( U- v: g! b$ b: U( M5 z" p" a1 B6 A
19.'Tis known in refined company, that choosing# i8 |: m/ A4 i, I$ d
3 ^$ k. B7 w5 a! e6 h1 E
K things out of N can be done in ways as! _1 h5 V% K7 c+ w. D. n+ d

% c7 \( j( `# b* @) L& t1 j3 d! ]many as choosing N minus K from N: I pick K,6 b  m" ~. P! S( I) @& h  h) ], a

- }" w$ }0 C7 h1 k% Y2 K& ^you the remaining.1 X0 A8 e5 s; `( g  x; Y+ D

4 W) ^2 A& J5 s% y" u; Z" Z. K9 i: W6 L! t

: W4 X" c, I% l) @Find though a cooler bijection, where you show
9 w/ h4 d: z! I. s/ ^& G) {6 `8 l* ~- `" N. p8 j# d
a knack uncanny, of making your choices contain
  }8 L( P- a4 S% f8 X
1 r* G6 L% S/ M, {. k, Call K of mine. Oh, for pedantry: let K be no more: I4 k6 R, o/ `

! J" ~% ~- g7 v+ ], {! \. fthan half N.! o+ w: R9 t: K. |) F5 [) w
- ]9 |# A, A4 n9 g9 s! o) a

0 I- t$ E( C: r* ?* ]. o. D  I1 S# c. y
20.What number comes next in the sequence:' {( t1 p+ g8 j/ G, V
4 V! {& J* m9 P4 r
10, 9, 60, 90, 70, 66,?; U7 l" q7 T/ o- b4 g9 y/ i
2 _! [) ~: `# H# H) F4 g. \

, i' d% W( j, ?5 {; a& J. `1 C
0 g# H: F- \/ K* M5 W/ YA)96, }. w! g7 `6 ]4 Q! j

  o: F7 g) f* P& H: T! \; c" HB) 1000000000000000000000000000000000
- C. X( {9 I* a" v7 h3 U' p5 M& f' N; f9 _+ L
0000000000000000000000000000000000# V! `$ u. m" z! c
6 q* |2 _1 p6 C+ g) G  R
000000000000000000000000000000000. {% U, g% \7 p3 @$ h

9 o1 I2 d8 \1 E& {$ u) {& OC) Either of the above
8 O6 W" i$ a# v7 ?. S" @- q, q) \2 }( w( w! n. g0 u
D) None of the above
/ p# J9 E" j  V; x0 D7 h9 x9 g0 M' O
% _: M) s9 |7 k
' ?* D- }: W% ]* y0 ~( |
21.In 29 words or fewer, describe what you5 u# P  d, c& ?% {& S- p

( Q; g% Z2 s. k+ x9 C1 @would strive to accomplish if you worked
8 b- m) ~$ ?, y6 ^; M- Q6 G% y# F2 E- k) L4 {: D% A7 G
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-10-23 09:40 , Processed in 1.021201 second(s), 101 queries .

回顶部