QQ登录

只需要一步,快速开始

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

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

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

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |正序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of* ]. K1 u- K/ H! r; f2 {3 y
/ K. R6 V- v, e! m; z  x4 s
course that values for M and E could be
- q: r+ S) z" D& Z1 s* L' R" i3 D$ Q6 S1 d% }
interchanged. No leading zeros are allowed.
% ?2 E# d! l, h# `, a2 v0 X5 m& M6 s( C& U+ X

* b! p4 m# a6 W4 d5 r( W6 }# K. T( R4 X" u& f, I  _1 a( u
WWWDOT - GOOGLE = DOTCOM
. F$ B3 L0 U  H7 {* P" u' k& z$ J, L5 U3 I1 q/ l1 F; E

/ f' q6 t$ S) O' T3 @4 j
! @# D, Q8 U( N: P8 n4 ]& M' H) D2. Write a haiku describing possible methods* }- U2 x- B9 R2 u% z; l3 t) A, R1 R# I

6 J! d, N3 D1 hfor predicting search traffic seasonality.- \* o7 M* @& u, ~8 o6 {: Q

3 J4 ~% m: f4 ^- l0 \9 ^
  r* e1 k2 [; k# X/ C
7 ]2 K" \: [: ]- c: q+ [3.
4 Y- i/ B' H* D' Z& E2 q7 s6 B% W: X$ R: R5 a4 |
1/ ?. d; A% A! i% |5 u  h9 B% X
& _! t. s+ h' w7 [) ?' e  I
1 1; O" v4 |7 x5 L' s7 ^& q5 k; @

) n$ ?& M4 W. c) v( [2 1
0 Y0 n% j3 a) O8 k0 d' M2 o. X5 D# R! N# x  ?$ j
1 2 1 1
0 W$ S0 f" Y1 [/ L; Q0 g- p, c2 P2 d& l+ d) Y$ Z
1 1 1 2 2 1( `3 k' S* S$ j" Y1 k) ]
" ^4 c( g7 P& h. t8 M! G

; ?) J& r4 I) @0 j& q& F; m
. Y. V- \9 V; O! nWhat is the next line?' v2 A1 X5 g; z  a

! h4 _* X/ ]( T& D9 s' B% C" b
" L  E! w. b0 V# W' l7 L
, J; Y1 \5 [2 z* R9 k4. You are in a maze of twisty little passages,
. _  a0 }* r! z1 W$ }4 i3 V$ m" G- O+ ~
all alike. There is a dusty laptop here with a0 H$ O4 V8 i! x; Q( Y0 x

: g, O) }( f2 wweak wireless connection. There are dull,% `, @) [% `- e
) P) R# c0 d" _, g  t3 m- m5 o+ g
lifeless gnomes strolling about. What dost
8 ~, {- y# r1 r" A2 O$ q7 q1 J4 ]1 A( `! V# }
thou do?
, E2 M) {! H, `# [/ l: h' q% @
" f4 {! L! B3 a. Z2 i5 R
5 S2 `1 F$ |$ D! b
8 h$ X) K  N' @. ~4 E+ ]A) Wander aimlessly, bumping into. w5 d" a% ^0 y& F

3 c3 Y+ i- t; }5 {. k  {obstacles until you are eaten by a grue.- t7 d2 z0 o! f, ?9 w0 O
. Z  E! Q" N1 V; Q  v& G2 M
B) Use the laptop as a digging device to
: d4 F0 Y2 C  D% z1 w
& L2 O- V/ V: D( H: h( atunnel to the next level.6 N+ W, g% ]1 g. R4 `/ n

) o* Z) B* O& ~: [C) Play MPoRPG until the battery dies; k3 s" _: [2 d  W) B8 n8 T

% W; X% `- `. v- P; p0 `4 [along with your hopes.( q; @2 N: U' n; G  j

$ _! j8 \5 x8 N" B; j; BD) Use the computer to map the nodes
1 N, g  j! @5 N* j
4 Q7 m+ @/ S% x: _, vof the maze and discover an exit path.5 s9 ^8 [2 b6 m$ l
& ^- E& d* G3 z7 K
E) Email your resume to Google, tell the4 c- _5 a5 z8 k+ X
- s7 A; g* i' O" Z4 J
lead gnome you quit and find yourself
1 ]3 R) _, W- f, [
7 N. @: n5 j: s% I! h- h' q. }in whole different world.
; X9 ~- b# l- @. x+ ?" N  s( \5 H& c/ @8 i' l6 O

8 J  @$ l" R9 X5 q* N6 [% t
2 w4 b; i  i4 Z9 F: l, A3 i5. What's broken with Unix?! H- U' G2 {( M8 v8 j- S6 X
: f  Z% @' P. ^
How would you fix it?
) }/ ?6 K4 h" R
2 p* D) k( x" S/ S7 n
; w8 E( O3 A9 X% g- M4 |# H
' r( w/ y$ _) m! X) m! D! q) z6. On your first day at Google, you discover$ a' Q/ Q8 j$ ^& q& Y: B  k
5 t2 S, V$ }) A( Y# F4 F
that your cubicle mate wrote the textbook  ^) z$ X" q' {; z
7 U% ?  y" l9 w; g! U
you used as a primary resource in your first
1 r* t% b2 v; f) }# ^" @' X  V/ P0 L4 P. X7 t' j4 D8 u$ {/ g. j
year of graduate school. Do you:
% R; G+ ]* X* I% }# q
$ `" n1 N8 {; z/ j) N2 ~  ^0 B" U3 f" t1 @+ T" D$ h/ `
; p; [" L$ T2 I9 @
A) Fawn obsequiously and ask if you2 w- m" V, n/ ~" [3 w* G
+ U4 i( D% J/ V9 ~/ H
can have an autograph.1 O7 {/ s- n; i0 g8 h
$ V6 J" P# O3 E; P
B) Sit perfectly still and use only soft2 w4 ~4 z! L, c. i1 X$ k- I. W, c
3 X8 s! D/ E% w1 \3 G
keystrokes to avoid disturbing her/ n3 O2 t* l- r' |  a$ Q
" }% T$ T' {! a- ]
concentration.- P6 V9 l2 N7 b! [8 \

+ K+ l* p  t: OC) Leave her daily offerings of granola
5 S2 P- v8 ?+ n% ?6 c
0 t+ N4 i" ]6 h2 d  v9 X0 u3 o, qand English toffee from the food bins.
- D: \! V/ P, H3 Z/ d- g: _6 t
8 n* x- u/ c( b" r. I. v- H( p5 G5 {1 @. A& D) M6 O6 w4 d; L" M" q
- A% K- I( |. d8 Z  c
D) Quote your favorite formula from the9 c% l) p% C# W' q

9 Y; Z. V* x7 v( t; X; b' ~$ V$ ~textbook and explain how it's now# J! X& B! U. o1 I

7 A. s/ e, B2 X. c, r! n0 m0 ?2 Vyour mantra.
4 P, [2 L$ H8 Y$ R+ i2 o- L# d. \* a0 V6 A1 ~  K
E) Show her how example 17b could
1 O6 N. G& I  H$ N6 \8 f
: w$ Y- m+ {0 f* y8 P5 e$ `# m) ahave been solved with 34 fewer lines$ v4 K) L0 R) {  J* [
. \* }+ O/ L. m
of code.+ x3 H8 ~" X5 ^7 R
0 \% z2 H" s2 D
7. Which of the following expresses Google
: Z+ o  X& D8 C
4 D: `) h5 N0 `) a* n6 B, D8 Tover-arching philosophy?! a( \8 T- V  R% |( N3 o
! j) B4 u* Z; ?" H6 q

8 ]$ q3 X( h5 O3 Q; Y
' V3 P* g9 h& b) r/ O) f, z6 \# KA) "I'm feeling lucky"+ H8 X: }& v) L+ F

3 O9 H( ^% ^- gB) "Don't be evil"4 \* e0 ~# D& b- ]5 R5 S2 E

5 M0 X- T7 a/ o3 a! _  u! WC) "Oh, I already fixed that"
  {; b7 Y/ ~5 o* U6 H& e# h
- k  X6 K- _. e2 R; w3 m3 uD) "You should never be more than, @% P: c  s7 f
( c2 P4 l) d2 D% I3 F1 d. ]
50 feet from food"
$ X! H( J) k" h9 t/ s' ~( v* g5 R; ~) R1 ^( W# u; a3 ~9 z
E) All of the above
3 p2 Y8 B* W$ _: F0 c4 n! B
7 `# M8 N' Z: l  i) Z+ n0 e1 M$ L  l  {  Z) B' @- l

# Z% K3 N! E- _, ~. K8. How many different ways can you color an0 i! h( {/ u3 @, o4 W2 E* y

0 y4 k' M/ w, ^+ L0 M, V: ?icosahedron with one of three colors on
5 d4 o! r/ p! }; K3 v# r& X, p. V: j  u0 H7 w8 R: M2 _: p( P
each face?
9 `8 C* P1 c# Y% T# Z' c- T9 H7 b4 }- g4 U: ]. [# X  P' i7 s  q

' C7 O' r6 t( i* v
; g2 k3 Q- H7 k5 Y4 K! }, [* `What colors would you choose?2 {0 z; ]# q& m0 _* ~: c6 w8 D

7 p6 }' Z; V& k$ _& }$ Y8 n3 y6 r! N& f5 W4 n

$ v  g' b6 N2 p- u" S9. This space left intentionally blank. Please fill it
, N* Y$ N  K6 ^. N- D9 X3 N; x7 @3 r$ q2 _" _# |* N
with something that improves upon emptiness.
$ p$ u! E  y$ p' X/ l/ o' O/ v. m; Z# Y

7 m5 {# P) a, t9 C7 x, J, L7 T. J9 v5 ]6 a1 C. `
10.On an infinite, two-dimensional, rectangular
0 A* M/ ~3 ~; F* ]: o- T& P8 P% F! ^
+ Y0 B; q# U; X4 V7 l( U4 K* c3 rlattice of 1-ohm resistors, what is the* L& k( }! c- o' M/ ?% z0 V0 @8 z
* D+ u' |- S+ D4 v" f- X  A6 R7 J, M7 c
resistance between two nodes that are a5 t2 o. V1 d* ^0 G2 X5 p5 u

+ C% ]$ v0 r! @3 F" jknight's move away?( T, m, z' f; r- O9 [2 p. q
; P: l1 J. j9 O* w8 t2 d

9 q4 F3 u/ @! h1 S
1 Q* m; n( v3 p9 K2 F; h6 a" T11.It's 2 PM on a sunny Sunday afternoon in the
  c9 a. r1 k) n& Z* m4 R* J- m) k: w3 o+ M/ W( b
Bay Area. You're minutes from the Pacific
4 c  y8 D, }7 s$ Y/ \5 N" C, \2 @2 _
Ocean, redwood forest hiking trails and world* {9 I+ l# R: ?% {# f9 F9 Y
- e7 @1 x& ?$ o/ D
class cultural attractions. What do you do?- l6 d/ ?+ g$ l, A/ e
! S* C0 Y: |  @+ o

! J1 ~; e) [- {  f7 ^
# I" A+ b4 G+ d3 y+ I12.In your opinion, what is the most beautiful  m$ T0 V7 Z$ Z7 P
/ D+ u9 Q! e2 l6 |. s. W
math equation ever derived?
+ N6 ?2 Y$ ?1 B: h6 R2 d! I8 D+ w. E( M/ l# G3 ^4 s: T7 E9 F0 X
. }- n+ v, ~8 w; f5 d
( ~+ e" m; \, e. a! ?" `
13. Which of the following is NOT an actual7 Q1 f$ m% @+ s+ r
) ?" V1 F+ C8 g! ?0 {" J2 d% J/ `
interest group formed by Google employees?" _! s* |/ W3 T0 s9 M9 D
  Z3 s6 A: [' ^! [

1 Z" |: c: q' T
+ x' V8 ~' [/ e- c9 pA. Women's basketball
& r9 I' {& q) ~2 e. e! w, q8 [$ _) R4 g2 R' P6 r- |( A7 E1 _
B. Buffy fans
1 A! q- T4 l% X$ U0 Z5 F) s% O* W( m: z
C. Cricketeers
8 {5 I3 q4 N' _; T  Z0 s5 w& t' O+ d/ {0 Q$ B5 L
D. Nobel winners4 @8 Z# \% M$ y4 c+ L6 C; u2 m( a
4 g9 ]$ i9 G& ]  u4 R) `! w6 f! M
E. Wine club6 l8 O( C, R/ o
# j, o3 h2 S# O, A, J
; f# X0 S# m$ K" u6 F6 _' C. }, p

! C4 H5 ~4 C+ U3 ]: x0 @% W! H6 p14.What will be the next great improvement in4 C6 w8 v# a" x
# q/ C! f( `$ {# u! a5 Y) C2 Y; Y$ w
search technology?4 I4 B1 H2 g$ ]" X
) g: N9 Q0 O, Z
  e6 ?3 N* v! r5 J+ ^! K% \
$ F' Q5 c+ j3 n. n# L' N
15.What is the optimal size of a project team,3 E6 b" B" A6 w5 ?3 u" S
7 H/ v% ?  l  F0 J1 L6 R5 ^- p2 V
above which additional members do not- z) @1 n0 @% x% O! Z7 B, E/ B; `
! f4 J( R! i) o: p
contribute productivity equivalent to the
; j) O- |6 p& Y* w5 X8 m2 C2 n0 }! g: K* |1 x2 L' u% R' w
percentage increase in the staff size?
" K3 }: F9 |4 k* P  m
. ?7 Z) B! _1 ]- F" K6 uA) 1+ |3 o5 p' v" D' P5 z9 T. X
5 n+ J5 m, {7 Z( h9 B6 U
B) 3
7 l( _0 z. r$ U# y& p! e8 J/ Q2 S7 j
C) 58 ~/ j0 O6 _  ]1 v

2 p$ i5 w! Y5 j- @6 |7 q% T3 ND) 11( z0 z# o2 q) A. G, _
; H  M- q  d) G: l
E) 24
, \; S" l6 q3 ^5 n* a8 s2 j; A9 a+ Y  n3 s4 F3 Z5 e2 E8 b

6 o  P1 o: b0 ?! A: @4 \, C
8 \+ P0 r3 e, [! `' i' c% Y: j16.Given a triangle ABC, how would you use only' d$ o* S( o4 X  i9 H* j

& ]& k& W: f4 r6 Q8 }2 ^a compass and straight edge to find a point P# \+ D1 S9 A& Z: @4 ~+ D; S
1 E- C  m) @1 D' j2 n
such that triangles ABP, ACP and BCP have
& B5 y5 O5 O# R6 T5 @
, p! t/ O" ~9 d% I8 p0 u# uequal perimeters? (Assume that ABC is8 x9 V, }3 y0 P, \! v4 c! ?7 {

5 Z' ^& q' t  w8 Hconstructed so that a solution does exist.)- u5 s; g5 J) ^1 |! p% |. O6 _- d
: {5 s/ r+ B) n# B. m: E  h

7 O' Z8 d8 O3 P# \
' A. h  p: s; _0 _) q4 p$ o17.Consider a function which, for a given whole
/ y9 Z! Q* Q7 |( G( J% ^4 l4 i4 c0 X6 s5 t! v" R/ F7 N) v
number n, returns the number of ones required
8 k& e% t5 k6 U$ b/ B/ ^# f5 y0 i5 |6 @' s( B
when writing out all numbers between 0 and n.! }3 m6 {) l- }7 K8 g* g* E

2 e" I( G( r  E/ p$ ^" ~For example, f(13)=6. Notice that f(1)=1. What
7 ]1 H6 H" G8 z& @: @+ V/ A1 K+ }- E) C% d2 w4 b; p8 r
is the next largest n such that f(n)=n?2 P- ]8 t$ K* U+ h* U" C$ M; p

' r2 J7 O) q2 o! I3 ?- }2 d  e7 m. y# V

6 M4 f+ k0 P3 l% [& j18.What's the coolest hack you've ever written?
3 q: E$ `6 n5 |4 S9 ^: m! N
6 e1 J7 ~  x" i$ A/ h" B- Y0 J( f5 G/ X% |# _6 @  m
. v2 n- N8 N+ Q/ I4 J& F
19.'Tis known in refined company, that choosing
! l. y& a/ [! d; a  r) S0 ]* t
- s% `+ |1 i  C$ a; S1 AK things out of N can be done in ways as
' R- ^, q: D* D1 O2 f9 f3 ?! h
many as choosing N minus K from N: I pick K,
6 O7 J6 Y; |' L1 o$ o
) m/ x9 v4 |- y& X; W* y4 ], S2 d+ w7 ^you the remaining.
8 C( \: p6 I8 @* \" V7 Q8 H, |
9 M; e4 J" y3 L8 Q9 a: N) W" v
9 Z3 J7 f' |4 _- b  `! B# A
8 E; S0 t6 H  k9 Q: J! a" O7 ]Find though a cooler bijection, where you show/ A. J; v, u* d  a) D* G, L1 \
! p' S! C# Q& Q5 ?! B" t  E3 z
a knack uncanny, of making your choices contain
0 ^" o: `4 _4 D
& h6 S3 b) q8 n5 {% b1 [all K of mine. Oh, for pedantry: let K be no more$ J+ l9 S) q" L% m' r

" M! v' u) X: R: Pthan half N.! z# n. R9 C, `8 C- z# I

9 A% F& u5 S1 w- ?1 d0 w/ O) o- S- \3 t: m3 _- h! _0 s
9 }  Q% G$ f& q
20.What number comes next in the sequence:; p4 E1 |) _3 o8 J+ F! q

0 E, Q1 w$ g: U1 R9 y- \10, 9, 60, 90, 70, 66,?
$ y/ [, {7 e+ T! X' z5 C7 ~% a* g) M+ B: d

+ S7 L/ M3 z+ u3 P
3 D$ N. ]; G* O1 F2 A3 @; BA)967 |2 p. z1 @( [2 f7 c
5 ~( Q: A: O  ^2 c3 ]1 N# j
B) 10000000000000000000000000000000001 x) ?+ P. p$ S# T5 D5 J
5 V  v6 k7 _) m, }( k1 D7 f
00000000000000000000000000000000001 j7 L/ M6 V2 ^  ]
) u& V2 b# I, j3 s- R( Y0 G
000000000000000000000000000000000! |( @& B: e- x- W9 S7 W: j
( S5 q2 w% C9 {5 g, y
C) Either of the above. n' w0 T% a5 t" `9 S$ }& D- x* T

- ^- y2 k( `/ N( u' S& `% F# [D) None of the above
4 D7 t4 K. Y' W( O4 I# G, R) n5 y9 w; A2 X' R3 B  g# o3 y

& y* M9 `0 n) J! c' @4 r) c0 w/ X( c" ?% S
21.In 29 words or fewer, describe what you6 K' k/ [8 L9 @2 x- X6 V
; r& Q1 z( {* k% L( a  Z0 f' X2 z
would strive to accomplish if you worked
) f* S8 @: _  h& r6 ^3 A* ]$ n3 p4 u2 _; m
at Google Labs.
zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
supbilly        

0

主题

0

听众

20

积分

升级  15.79%

该用户从未签到

新人进步奖

回复

使用道具 举报

0

主题

0

听众

19

积分

升级  14.74%

该用户从未签到

新人进步奖

回复

使用道具 举报

xyzking        

0

主题

0

听众

20

积分

升级  15.79%

该用户从未签到

新人进步奖

回复

使用道具 举报

zidance        

5

主题

3

听众

36

积分

升级  32.63%

该用户从未签到

新人进步奖

回复

使用道具 举报

gisguiser        

0

主题

0

听众

20

积分

升级  15.79%

该用户从未签到

新人进步奖

回复

使用道具 举报

baogaoxie        

0

主题

3

听众

13

积分

升级  8.42%

该用户从未签到

新人进步奖

回复

使用道具 举报

7

主题

5

听众

449

积分

升级  49.67%

该用户从未签到

新人进步奖

回复

使用道具 举报

ailentcy        

1

主题

3

听众

36

积分

升级  32.63%

该用户从未签到

新人进步奖

回复

使用道具 举报

1

主题

3

听众

20

积分

升级  15.79%

该用户从未签到

新人进步奖

回复

使用道具 举报

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

qq
收缩
  • 电话咨询

  • 04714969085
fastpost

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

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

蒙公网安备 15010502000194号

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

GMT+8, 2026-4-22 00:09 , Processed in 0.535898 second(s), 103 queries .

回顶部