QQ登录

只需要一步,快速开始

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

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

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

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of
: j6 a; ?' s' R$ x; d8 g: Y! N  m3 k9 m$ F3 {  s3 H# |
course that values for M and E could be
: H& k& \2 Q) l; N) M8 u# Z) E/ {/ ?8 W% m9 p
interchanged. No leading zeros are allowed.
' A! U' m. V' I8 g: d4 b9 p  H1 P; L; Q5 B# |
* a" ]' ^3 U% o# }

, A( B+ G& x8 n! i' WWWWDOT - GOOGLE = DOTCOM
& w  h$ p( G0 [5 L$ a  D- h# W( \7 H; t9 u2 d. D) k# K

5 q2 {5 N4 A6 a, R
, E6 `6 z' _) I2 _3 M+ S5 h2. Write a haiku describing possible methods0 E. E9 B; G' b9 j: n0 i: [

  |3 X0 W" ]5 ~$ I$ R1 R/ cfor predicting search traffic seasonality.. q+ n9 ~0 P; f! `

0 J! e1 z9 W$ _9 m$ S5 x5 W# k4 R* H3 D7 c  T  Y

, @( p! {/ I0 C, @3.3 t) m, G( H' n: S* W
5 e6 B# W, L8 [
1
$ l7 b; r: s% r2 @* Y8 o3 {5 r, r: `, o( D3 M
1 1
1 o& p+ d, n/ `1 A/ j% f2 y
- L$ `3 Q: ^; X0 d6 S2 1% y6 ~' {- E8 w. y2 Z9 N
4 y1 F$ l0 g$ b; q$ i
1 2 1 15 s; D0 a2 G6 r
7 Z( i  O0 ^! Z( J
1 1 1 2 2 1
6 p5 F4 P8 s  n' h, D2 c/ G; V
: Z9 j# H1 j# V5 a2 w, t) ^, x  w

, j. }0 L7 }' `5 o( ?$ IWhat is the next line?
1 A3 o! C  L. q4 g9 n& P2 H
5 x$ v" c2 C! y- U7 T  I/ e( c  h. x7 g4 V; j0 R

6 F9 h' Z/ w* }4 q5 e5 C% U; H4. You are in a maze of twisty little passages,6 Z& Y3 ~0 F5 l( {6 m% l
+ r" Y0 X1 o. F
all alike. There is a dusty laptop here with a' b- s) @- a- h3 L# O
5 l8 w3 h! q8 X
weak wireless connection. There are dull,. J2 R3 C( v; f% }5 @
! F+ ~0 U& Q1 f3 A1 [) s, [( G; Z
lifeless gnomes strolling about. What dost8 U1 m  a" B7 U) |* |8 X4 u4 N5 Z
. j: C5 b4 n( v$ }" `" B# I
thou do?) @) K& n4 `; B  r5 Z; d

) U. e3 d: b* e6 _) [! c7 \- p2 i) M7 t: {- Y+ ^* l- A( G, F

3 y! a- m1 e8 T  x( ~0 yA) Wander aimlessly, bumping into( m. ^9 L  X& y

# G3 J& s% j/ o  ?4 t9 n7 Cobstacles until you are eaten by a grue.
- g  O) D  [: [7 O7 H; Y5 E* C! N$ w8 h! G$ p- N6 I! G6 H6 N$ |
B) Use the laptop as a digging device to2 X0 E4 z$ k* ~4 Y
% `7 q8 p$ Y" V% r
tunnel to the next level.
2 X; A7 [/ i, y0 F2 m: J1 W
& U1 K' u4 }) H6 p+ x, H# nC) Play MPoRPG until the battery dies
- T' w9 ~7 d3 B! ~: j0 V- I6 J" I3 B' @  ?6 L" x4 w. @" O+ [. v& T' [+ p
along with your hopes.* U4 S6 r. i4 d5 i9 D) K& u

' O3 g* {% Z4 @- t6 \D) Use the computer to map the nodes% h4 j/ V; ~+ b' ^  X; i$ O
2 z. f& a1 _% V& I* i( ]. U: b
of the maze and discover an exit path., L6 B( I" a5 B7 K. L

3 n4 p: v0 z3 s9 c3 Y. I7 uE) Email your resume to Google, tell the
* H  @+ @: |% u- n7 U$ a& ^
, N) p6 h- J2 Y* M% u, C) q1 zlead gnome you quit and find yourself
. J2 e8 E1 z. ]# l
0 S, Z( T. V2 `, v, f7 vin whole different world.
, B- R# e4 g  j; {) Z# G0 W# a, A6 Y  U

* ^) _, a# V5 M, U: {5 Q  A- X+ S: g+ _
5. What's broken with Unix?
0 O8 L& @; F# m+ E
/ H5 N7 |! f- ^4 g9 G4 v  u& V( ~How would you fix it?
& X& a, w& U" _7 g2 q; e
$ K1 O0 c" b9 q+ f. M+ {3 K, e6 q+ p7 l
" \" m+ P8 u1 L) M
6. On your first day at Google, you discover
" c+ S+ a; G$ N" v# ]8 u
- y1 e4 D$ H& _- [# f. C/ Dthat your cubicle mate wrote the textbook" S' n8 h- T5 v! y- C; b# w
( F" {* c, Q5 I' Y5 x
you used as a primary resource in your first$ C' W; J$ _0 D4 A- X  x3 x
: o4 @% u6 \- _+ E( w
year of graduate school. Do you:
2 I* r( K! r" W: k# A- |0 k# y$ h4 A/ U+ y
, @5 Q! q0 z8 C4 P- C2 [# A" \5 w
6 u& q1 A- h1 e. V0 b' b
A) Fawn obsequiously and ask if you
, c3 V, ~8 r1 e* S& J6 w9 @7 Y: Y% [% V; D  t
can have an autograph.
: P& E, J3 b8 f  W* O7 h3 Z6 b8 s8 L) p1 \0 H: x7 k
B) Sit perfectly still and use only soft
& U& M0 P/ t/ w3 B' q- k( {! `0 e: h0 _  R7 ^% j
keystrokes to avoid disturbing her, k2 ~* w/ i2 |
8 n; I4 y7 b# q- w! `( A4 o
concentration.
+ ]' b5 P: D. x7 G7 V* v& ~9 X. a+ \! ~: B) B* [- v
C) Leave her daily offerings of granola
! F5 h. ~5 N. t2 Y5 I$ G+ {/ [2 ~0 k+ l6 n2 b6 R. }. {% R
and English toffee from the food bins.
9 H- C& t6 P7 f2 q4 u- k2 o" Z4 n6 `  r' T
# V9 N1 I( x4 n+ a8 z( t
1 u  p1 X# G& b
D) Quote your favorite formula from the
+ U) [. d, {/ Z+ x  U5 g; Q
+ G+ A, \; S# k2 N9 ^textbook and explain how it's now
- k) U) E/ T" w' k1 g! M: @8 }1 @$ _; K& b5 G' C7 S( M
your mantra.! ]8 [1 E& e: _* ?% w& z- U4 e& A

$ x# s7 G( z3 n& nE) Show her how example 17b could0 p) n% M9 i: @, p% n7 v2 n1 V

- Q2 ?3 |! Q. C! f) C% H. ahave been solved with 34 fewer lines
6 v- Z4 t2 Z7 E4 s/ V' p5 z# C9 e9 H( E6 r; d8 M
of code., Z' r* K; H) m+ l1 {" ~, C
) c8 l2 t& j/ G( M) L
7. Which of the following expresses Google
0 w9 A/ D: Z9 `7 e9 A
+ I: j" G! {9 {$ P% |& J$ eover-arching philosophy?
5 |+ W0 X2 `4 t! R# Y
. z& {- [, b' @* @: h* Y3 l' e) s9 ?  V5 ^! L* n( K7 S
& j% r7 e3 h, L' ]. G
A) "I'm feeling lucky"
* h8 @6 P! |3 ?0 m( E& Q0 y) y# K  m
B) "Don't be evil"3 y0 S* s' k0 l# b; z/ u

" k% x$ K: y. D: k' qC) "Oh, I already fixed that"
5 w: Q+ Q- M, i# R3 I4 t9 T& H1 h/ Z8 {- H  A4 K  `
D) "You should never be more than
" u" {+ u7 L" a9 W6 y- c" }
: h# }2 A4 ~; ?- X" Y) T4 i50 feet from food"5 s; r% e$ H4 }3 y

# `! v; Y& v$ t& V9 k+ @6 D0 pE) All of the above
$ D2 }( c) N& N9 _% u6 w" L3 v( C. |1 a$ v

4 S7 Y) U1 V* Q( X) R3 L& {% t1 s+ b
8. How many different ways can you color an
! U& [+ s! X' s$ i  P, o* h- W. V3 k" Q  ^0 e; y6 T# O, f0 t) D6 h  I2 b
icosahedron with one of three colors on* C6 Y6 }1 [8 g7 l4 H8 A! [7 M
  B( Y3 b+ t2 T) T
each face?
: o5 t/ v5 ^% N, Q
3 g8 j% |: p' |0 c
5 |' b; g) N$ g& p9 R2 [, g
% z7 {5 c7 U6 {7 ]6 F6 z! oWhat colors would you choose?
0 r& b) I* g/ l+ C0 s' y
, b  S5 T) X. z4 U
$ I8 r" p4 H# ~$ G
! f! l: X( {$ I: t* B2 X7 d, Q9 @9. This space left intentionally blank. Please fill it9 |  N8 ]4 H  {: E: A* x
  P; F- C& {' t( D4 w, `
with something that improves upon emptiness.) N2 X5 Y5 ~6 W% T
; a$ q, u. M7 V( n: s+ X- M0 \
; P, K. k# ^# e) g3 `, R# ~

9 U0 ~& f; m% G' j9 B$ g+ s2 D3 P10.On an infinite, two-dimensional, rectangular
2 Y2 f$ `; D3 A4 L1 z7 F. f: y9 u3 S9 d9 R- G* F- A: F$ P7 e  N9 E2 P6 ~
lattice of 1-ohm resistors, what is the
+ o1 v1 W$ c* P" c2 @5 A8 w1 M. i) x; ~# H+ [
resistance between two nodes that are a
9 @' N/ W4 ~- J2 ~6 n  p2 d+ F& A" v+ v% _$ t) X8 n7 K
knight's move away?  j5 ?  D- n' H

, J. Z4 ]5 ^2 L0 S$ q4 k( Z
5 y) ]! i/ J/ D% z, Z) n/ @, d  m& A8 O
11.It's 2 PM on a sunny Sunday afternoon in the) N3 s  S- D5 C) Z8 Q, I9 A

. d- E) ~# d2 U; ~$ ~- X' b6 WBay Area. You're minutes from the Pacific
' p4 w: L9 d2 a0 Z" g  n/ @9 j4 R) y6 ], j! C/ s
Ocean, redwood forest hiking trails and world6 g5 n( |0 {" p- J# r2 a  a- \

3 [2 L3 s5 R$ x+ ?class cultural attractions. What do you do?9 x( i) d+ C, M6 x
4 U' d7 b) b# X7 R3 l& h
$ W, c1 G- f, A) ~# Z
6 d0 b1 d# }5 @) B( f6 A# g" x8 k
12.In your opinion, what is the most beautiful
# ]% Y2 l$ R6 f# p( S/ d/ J" C8 `( {$ X; Q( t4 |; _
math equation ever derived?$ R; d, W$ a" x( A; x
: @+ Y+ ?$ s" M' [7 }

8 Z: J/ _0 ~* W: ~
: P! D5 o; u! F# i" ]8 S13. Which of the following is NOT an actual
  U* z  x7 `" v) R
4 g8 ^( |4 i( x1 d& t3 p- T1 Qinterest group formed by Google employees?
6 L; M8 M8 {0 J: n/ v, H5 d- d: ]6 |. `9 R
8 u4 x" M1 v( I5 d. s% s
  U4 P( ]/ L+ U
A. Women's basketball
- j/ r, Y9 w; f0 e: y) E/ L2 |$ Z  O" \! o2 r
B. Buffy fans! V! Q- g& Z% T; s8 k0 Q: f% N

6 h; q% t! f5 u# v- {- [1 P4 }6 ~3 GC. Cricketeers& r0 Y! S( f# C8 D

/ ?8 A1 \( T- ?D. Nobel winners
& ?3 h) c4 m1 T% M/ K& }" x: T% f" h+ T( |/ Z0 }# b
E. Wine club
  E) F) e& X9 X; t; X& h& f$ w
9 K- I, }" k. s' ^6 l: s' q1 c

) V9 T) E, r; z& e* G14.What will be the next great improvement in
( S* h( {) O+ e: Y* o! r% ^3 N9 }
  z* R( I3 X3 t2 Esearch technology?! k: t' _+ {. p
; e5 H/ p, x1 J7 I
: {6 M8 z* ]' V5 B) V$ _" s

% {+ C7 S1 b6 ^, X2 U( P/ I15.What is the optimal size of a project team,- b- |: ^+ ?4 F, L

& X3 ]9 l, Z8 b; ?1 Fabove which additional members do not/ ?5 N/ C+ E. Z& F

+ ^, ?! V+ y: N( s) O" Wcontribute productivity equivalent to the
4 _# ~! x/ s5 k' N
+ T6 L0 i9 y* x( m1 Q, hpercentage increase in the staff size?
9 m, _9 m/ s% c; f/ D5 N) T; u# h6 j; U& Z! ~' y+ }" ^: @6 f+ d) Q
A) 1# V% W4 ~' e# q0 s& |3 ~0 m
. L7 |( ^; K- F  r: J" H
B) 3
/ _$ W! ?& ]6 l# @3 `
" w5 E9 Q7 D0 U; u! ]# QC) 5
1 d2 y$ C; k1 u6 m' O
% {/ C. z* b5 UD) 11
: h4 d2 r/ ~. Y& m% |
: `4 T' Y% M: q7 RE) 24
( B+ \% |; o- J6 |1 w; b' l' P" }! X* S4 [7 ]. Z
, R4 s% d. U) N% p. x" j, l8 ]0 \
  G$ E0 R# \6 D9 Q0 Z
16.Given a triangle ABC, how would you use only, ?) Y" N$ Q8 Q  {1 `* Q

) V1 K' d- ^; ~! ]a compass and straight edge to find a point P
& U# q$ {& m5 o  s, o, P: Y; s- [* O9 b- s& U; x
such that triangles ABP, ACP and BCP have
4 h2 c7 M2 H9 [- n2 I1 e: O0 Y3 l
equal perimeters? (Assume that ABC is; j  N, h' s. l# s8 q

& I7 O& A" a  S  C: m: y  kconstructed so that a solution does exist.)) f' A: |+ b4 S5 J

- o2 F8 q9 p" F4 E$ u( O4 v  o& b  u" Y3 C

2 @1 d. {$ ]. S) _5 s* |4 P17.Consider a function which, for a given whole
6 u7 f% N- S0 {( z, W0 p( j4 ]$ `
number n, returns the number of ones required
) Y% [; n; [  O. _& I" @
6 |# ]8 F# K9 R9 D, S5 N; S7 B+ ywhen writing out all numbers between 0 and n.* E& Y. ]& Q% }' B& E, K7 p
* P8 h! ?  M5 B0 o/ `0 g
For example, f(13)=6. Notice that f(1)=1. What
. p* T: z9 h  x9 l$ U  \* i
; S$ E! m  T+ j2 k$ ^9 Bis the next largest n such that f(n)=n?
" a; ]: Z% K# v( o- ^5 _0 t) T$ G" M+ f

3 Q$ F( Y( s0 ^4 O! Q4 z( Y) u) f5 q$ ]; u
18.What's the coolest hack you've ever written?
# a- k7 q/ x. N, q, R. I" M. Q7 E: ^
5 A- J' I6 h# D7 w: l

: c" C/ |0 \# s19.'Tis known in refined company, that choosing
# @( k2 i8 E: H1 B) o, _' Y3 I
4 h( d8 I$ L" t: V) c7 lK things out of N can be done in ways as
& u3 f8 T7 A- v5 N  _8 g, A
& e3 K2 g  H- R7 Xmany as choosing N minus K from N: I pick K,: G: _% x& n9 ?( `

! ?  A0 H4 r8 [; {, h4 Cyou the remaining.3 b/ m8 |' g# E' U& I  K
+ K% |$ ?; A9 M* u, A- e2 S
7 r$ r7 X  T) e( C$ N( E+ }; l# D( W

( o* v4 F6 J( ]* L# p5 k4 H* vFind though a cooler bijection, where you show; D2 t4 D; z( ^1 m. E0 T6 _
$ Z$ p) U5 g; g3 A$ V$ _
a knack uncanny, of making your choices contain
6 ]4 T: F7 H: S2 D" R: N/ W
9 Z: q, K$ p' `all K of mine. Oh, for pedantry: let K be no more7 H! q/ O& p7 ?& r
1 r) }6 P! [2 s
than half N.
! r/ t( O8 D, ?" O* T& I
" f/ ~8 v* u9 T# P+ B) M  m0 }) k$ v: j- N7 d

2 ]) C) w; ^3 X4 w20.What number comes next in the sequence:# Y' ^3 J$ C6 E7 G" o1 n2 D% _

1 g" |3 d, X5 |$ Z3 E% O* [10, 9, 60, 90, 70, 66,?
+ m7 a; r) u) m$ ~$ Z3 V! K) Q* J. b
, M: e- @) j  ^& T* B9 g
5 _% g4 c  u' {0 e
A)96- z- z' q" W) u* @# p5 O

6 F0 r  ?* g5 JB) 1000000000000000000000000000000000% j2 g2 b) w3 Y! b

& E" b3 X3 C9 p, P" h# A( {0000000000000000000000000000000000( f; O; ?8 I* r! ]  G

' ], K& ]% l% _9 K2 e000000000000000000000000000000000! w1 A! ^+ V0 f, `, @* Y4 r; ~

' g5 k+ {  _$ |C) Either of the above9 `- E' l0 o5 {2 w  q

) T2 C6 [9 J3 H1 g* s- BD) None of the above* G  c: S# u0 A

1 _5 P0 b3 t& g0 L, l* h" L6 L4 j& \/ I1 Q2 ^

* e3 H6 k+ p* v# H21.In 29 words or fewer, describe what you
6 }2 t7 T8 h3 q  l% V. `9 R# X
6 q6 v: h* V2 }3 L$ z' w7 Ywould strive to accomplish if you worked
" D% T* C1 W1 Y" b, w9 j( i& s; b2 \' }4 }
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-21 11:19 , Processed in 0.533837 second(s), 102 queries .

回顶部