QQ登录

只需要一步,快速开始

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

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

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

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |正序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of
$ a9 B- }5 \4 A, Q- g5 w, ~+ _
% G( R2 X. T/ ]# ]4 g2 V1 J4 |course that values for M and E could be8 r- u/ t2 y3 p% V% v0 G' _2 z

5 ~6 _$ W& ~' \( ~# n) `interchanged. No leading zeros are allowed.
: y* ?# {' m# A$ q' e
/ o$ B* I% D0 Z' t; O0 A6 H3 c8 U" X: q; @/ q5 D& O' x" Q# J
: D; o5 L5 {* V. @. b- e; {
WWWDOT - GOOGLE = DOTCOM2 t; Z( _, W  F6 M1 X5 ^$ q3 G7 j4 z: H  R
& g4 H/ G( w$ n" x7 G# k+ M& Q. Q
. l$ K4 D! {) o3 o' ?

) O6 }: y5 T; M8 }2. Write a haiku describing possible methods5 U4 w6 D- [7 L  H9 r: [

! }, p) d0 H. cfor predicting search traffic seasonality.- O4 Y: M* ^4 S* D! O; A
3 I9 A- p) t6 T  C+ X
* R/ y4 H6 z+ R" d% o4 M9 E
/ v" F; G3 p) c3 s- ^3 X1 ?- e
3.
- t$ U( u. `( w4 y9 H( z5 W# Y# x7 B. y8 F; p2 \) q  Z- @
17 Y8 d( M- X; d& X' U7 H
) Q7 Q8 u+ r4 h: q
1 1
- b4 w% p% i4 h  T& u7 {$ P+ i( _9 z6 J: i
2 1
5 O1 j" Z% }; ~( d+ L- W: n7 e
* Y6 v& ~& A0 A2 O) V1 2 1 1
1 F) [; M4 p1 Y  k! A
) c6 }8 u$ ?: S5 P; F* [( z1 1 1 2 2 1
; q3 v- H7 B9 ]+ T% c  h2 A- [% _& J3 f

( l; R0 T* b7 f, z
) c& @4 h1 _; L9 s' g# D5 _What is the next line?
% o, p$ l" P" e# r) F+ g1 s5 M2 ?8 y% c. h

+ w+ [1 l: ?8 [. T# o9 E! f7 ]+ r! y3 v2 F/ m7 \' e
4. You are in a maze of twisty little passages,
7 `% q5 L" ?' o
. H- Z# d! g' B5 g6 _+ Eall alike. There is a dusty laptop here with a
: N2 `5 q5 P2 C7 v1 P( a7 F: i+ E0 s3 H
weak wireless connection. There are dull,4 E; X) }9 C$ Y' ^: p

, i8 X; n8 Y0 y; [, x! o* c+ R2 Ylifeless gnomes strolling about. What dost
5 _( a- k) _$ [- {7 z# ]* K: }/ @! N' F
thou do?
. l% {& Y0 q$ J! \" s, b
, w8 g6 ?6 |, x$ c- h9 D
: l8 a0 n, h, o' B
2 j) Q; j3 y) g- X* q: v$ K7 _A) Wander aimlessly, bumping into4 @) P5 K$ {% X: Y! Q4 R4 r6 X

; N3 P9 R% r, {* V6 V4 Y( r/ e8 B0 A8 dobstacles until you are eaten by a grue.
( n* Q+ E$ g- y! _% [  @! R  M# Q4 D5 F0 F
B) Use the laptop as a digging device to
5 C* t2 w, \7 a& K- t5 Q3 V6 `4 K( D# V2 a0 k/ l' t4 g
tunnel to the next level.# E0 z, O$ m3 f/ l

7 h1 V( Y* c9 F' ]C) Play MPoRPG until the battery dies
' H; r8 x; l% _$ \1 N; H
7 v3 _6 u) ]1 j  p# q1 zalong with your hopes.
# T2 g% {) b" k5 q* i3 V
! k1 H+ }7 `0 T# b6 _9 g5 U$ pD) Use the computer to map the nodes
- ?5 ~$ l9 w% W( H1 e  H/ Z% o
' m# }: `5 b% h4 X- ~& k+ _- Eof the maze and discover an exit path./ K8 o- j. @1 b# x

+ r7 ^: X+ a, d" l$ mE) Email your resume to Google, tell the
$ g) g" d2 }$ Q$ W! y3 W9 `
1 x7 X$ Y6 H' w) M: g" zlead gnome you quit and find yourself
, V8 w- S5 P+ z  ?( w# Q4 ^% W1 q2 h1 |1 W  B: n
in whole different world.0 ~5 U1 ~& o/ i
/ U# B; o  P8 b1 p: m1 y" a8 n$ @* b

4 h5 ]8 S* h! K+ l  g/ [3 f1 V
5. What's broken with Unix?* B4 ^- S% O* d' ?$ }

, n- l1 `- C6 d) D3 N/ {How would you fix it?' t8 R) h  X9 ]9 _

2 e8 `" P/ C+ R6 J5 k, y: ~1 b1 t4 a! ^) P( Q
( @1 O2 `. `! \2 I; L! q: ?- d+ L
6. On your first day at Google, you discover/ g9 L9 ~  N7 v% O) L* U

' y* o3 i) s8 G* [' e- Fthat your cubicle mate wrote the textbook
' E# B' t) a: i' P; M+ c2 G
! D0 g- j, y8 f, o% ?you used as a primary resource in your first
8 b' J% [* d6 i0 B. s  B  S; {9 d* E9 a5 i+ B
year of graduate school. Do you:
  r# a! ]7 R% D
7 `- r6 ?, O$ W' e1 S3 J3 z- v  _" T, [. B; q2 `2 k3 z5 s4 F

/ _) \/ R( B( bA) Fawn obsequiously and ask if you4 y5 v/ H2 V5 T3 a2 k( l6 X! \& e
2 t5 ]2 {1 a0 `; T. P+ q4 a; ~1 A
can have an autograph.
" L4 a6 R4 ^6 N( t. a# b: [% [' R' z& q" x3 n! E( @- m& d
B) Sit perfectly still and use only soft! b5 @/ Y. E5 C& d; z; P8 o
- E2 K, F( U, {5 h+ E
keystrokes to avoid disturbing her9 o, Q! X# w5 F  R' v

! g; U+ j1 D( @' }+ `! pconcentration.6 _; }, i: n' A
; ^0 |/ K8 ^" U& k7 i; k
C) Leave her daily offerings of granola
( j" h# Q) R) v) z
6 G8 H- O+ D. m! Kand English toffee from the food bins.
& G5 ~0 E" B  q. y+ A
  M: |; a' j: l; i8 z7 V+ `% O/ O, [3 V, y
( i9 w5 |! \9 B. ]% ]# V
D) Quote your favorite formula from the
7 X: z0 y5 B, ~5 `& J/ l$ Y7 r; z  o3 a) ~+ I& }* j
textbook and explain how it's now
% [+ I. n4 q% L* w
% K) g9 L7 s/ R" C( y! Qyour mantra.
  n' n4 C9 H) |7 i4 I
' c; ]2 \* q6 o4 q: QE) Show her how example 17b could' @# A  u4 n7 `2 s! ]% K- V
6 f% l& P$ x) O$ r* S5 K
have been solved with 34 fewer lines0 w2 ?' r  w3 H
9 V2 w9 D6 W( [8 P( |" G( o
of code.
2 V0 e1 m2 t' t
- c) p5 c9 A# P  g4 X1 z7. Which of the following expresses Google
# M# o% }; r+ {/ ~
1 w8 N' n5 F0 e6 G* O8 Bover-arching philosophy?& s$ Q+ x+ A7 w5 v, f2 ^2 f8 ?" {

! u! r2 S- E6 U. O4 j- u1 [6 V5 b) w! w0 L2 W6 A" c

8 C' @2 {( v4 `% C! a9 z% x( WA) "I'm feeling lucky"/ g6 K* S/ A( |  g
4 k) r; Z" P0 g+ E6 H( M' X% r
B) "Don't be evil"9 D; S8 B  Y9 T9 l9 n1 X# n

+ \  g$ u) L. C. @  J1 @3 kC) "Oh, I already fixed that"
4 A% F2 a/ _, F( V, M" Y' |* J- x  J* u( I" O/ S9 u" b
D) "You should never be more than
* d( u& \0 ]* `' r  A3 {
# ]" X# J& @1 Y% }. X50 feet from food"! j' O4 W6 d: E/ Q

# x' c2 M" G8 V- ME) All of the above9 a% c* y, U4 U4 `4 c
( i( J1 L2 }- f: K. `7 H" u7 L9 |

2 b1 i: q, g1 v" ?8 ?5 O3 c
% T0 d8 P& L3 r2 W+ t. f# s8. How many different ways can you color an- }; `8 N& @* r0 P
1 }) G1 I/ G. v! S$ Q& j+ |
icosahedron with one of three colors on6 A6 Q& y, [, v' H( s
8 @  K3 \9 i7 p+ n+ S8 @
each face?! Q4 B7 a$ h3 L) L

- b( ]* Z6 i  s& |# i
, ^( ~+ i5 k+ Z' E  ?8 q' b$ B+ E$ w- d9 O6 ~- [) L$ e
What colors would you choose?
! C1 d0 X" v! Q. m0 x; J7 N# _( i
8 E$ e+ ?, h1 {7 {+ f0 \4 ?
" |. ?& L( \" `1 E+ t3 E4 d
0 x; s7 `" W6 x9. This space left intentionally blank. Please fill it
7 }2 u8 I9 _) O* h# S2 y
' a9 \' Z( C3 {9 c: E% u% l9 G: lwith something that improves upon emptiness.
$ I9 c4 l. U/ S, H
0 T# _' {$ H/ s# @# v$ c& G3 L9 v, ^$ j; ]7 d9 p

; v+ l5 u5 d& R" C# }1 o10.On an infinite, two-dimensional, rectangular: Y0 z/ P. b/ Q  S5 V7 c1 Z

3 Q) `" m' R2 G4 Qlattice of 1-ohm resistors, what is the' u5 ?' N8 m& a! Q: A

" f. m. F6 D" d4 m2 _( _resistance between two nodes that are a
- a0 E, J: G$ o9 n. D6 T
2 q  M. y# N5 i. |2 ~( [knight's move away?
- c" t) C' P- p& o" @3 A, N
1 P9 j8 U0 ?- ^, s
4 [8 e5 T; a9 R; J7 a
8 T% M" F; X7 Z& v" ]: |11.It's 2 PM on a sunny Sunday afternoon in the4 J6 a, i) H4 I( r( C1 M0 p

5 x: L1 u. I  g# x% ]! S8 }Bay Area. You're minutes from the Pacific
2 ?% g( Z& W. F$ \
- y! L) U' k* ^- l( T1 _Ocean, redwood forest hiking trails and world
; b( [: i8 a. @" T1 F; I$ t. ]4 A" Y# Q& {' _* Q
class cultural attractions. What do you do?
' X9 H% g: T! V/ h% {, @& S1 v9 t1 s1 y# S0 }" Z9 y0 d

. @7 o% @- N9 s' o2 ^7 \2 N% V
' }3 h  l' w. T5 e% N2 R  O) x12.In your opinion, what is the most beautiful
; m! y3 W; L- f2 v' j# |2 h, O+ h" X: X+ T8 c
math equation ever derived?0 `9 j) d! Q5 J& g; I' T

' {/ g' T1 t$ _7 t( J
; g- m# j) {3 g& f. ]3 ]
8 w' b4 x# y) K" v3 }  h13. Which of the following is NOT an actual
6 E$ [: H3 n4 d7 y% |( M* w$ O4 r6 Q+ ?
interest group formed by Google employees?
* R6 X9 Z  p- R1 k
8 N) N& s. e. q) q6 ?* B
; e% L4 K: R0 A
; Z  L  N# p4 _& VA. Women's basketball: u% ~" x4 E7 J- p- C& r5 a
  r  s! P8 c* R8 e+ N6 d5 g+ ?
B. Buffy fans
! K3 j0 L- b# K% K% y% _
0 w6 x& H% }+ l5 j. ]3 W  d/ lC. Cricketeers
% b$ ^* K8 o( S$ x& Y5 b$ ^) U9 V% G
D. Nobel winners) N" F1 ^9 c2 Y( ]
# G2 e4 Z6 e( V" H8 o: M  ?
E. Wine club" }+ t" Z* W" K. R, A9 ]2 S+ Y
* _' o9 A& R9 S8 L( y* ^5 N
# j1 t2 B- D8 c3 Q. M; J/ y, [9 Q

( C1 E& |5 v0 c* k$ k* M14.What will be the next great improvement in
+ t( v3 c( A( V/ F( N
6 m" L: k1 {5 vsearch technology?- U  O1 S$ Z% Z8 ^$ |
# |" u7 f+ G. c0 e+ G9 E4 ^
7 h( B& y: Y+ g
, ?* M2 U7 D6 R" Q
15.What is the optimal size of a project team,
! z( U- L  r9 a1 i* p$ @" e5 h& K+ n, O# S4 U6 E! P" h$ l6 u
above which additional members do not
* @4 s* V( z7 [9 V: e  Q, X3 b- q
8 H* T5 F4 A( m/ f: acontribute productivity equivalent to the; C$ y- \2 J: P4 {. l0 E/ H" S
, g1 A4 _+ R& p3 s' Q' ~
percentage increase in the staff size?! M$ O" r$ |( `# w5 \
! d- {0 x! x/ \
A) 1
3 s& m6 |+ Q5 C: l
2 u3 J0 J% s9 C8 dB) 3+ G" b! y3 B8 |/ E! Y+ @, y5 X8 Q
. y) X, Y6 `3 |
C) 5) U2 m& V+ L6 G$ n. b2 z. w: B7 L8 R

% A# u! f1 \' _; G. A. {8 BD) 11: M$ {+ b% D; X" r4 _7 L

! h$ ^5 O  w) K) x6 P4 V& W& B2 bE) 24
6 E; c6 o# U; x$ b
0 s6 K& J9 |/ A: J9 T* {- s" H  y0 `1 J8 P* E
/ B0 ?5 [- D9 s: y/ x
16.Given a triangle ABC, how would you use only
4 E/ k3 s! d( G5 b2 h' d5 V/ h  p; S
a compass and straight edge to find a point P
5 T. h; _- c4 R* ?
" Q! ]8 R4 G6 i; x8 q! s8 fsuch that triangles ABP, ACP and BCP have; Y! }/ I7 X- m# Q' k2 y
$ B0 \0 ]8 W8 a
equal perimeters? (Assume that ABC is
! W; [4 e2 W. b1 N3 K( n4 ?9 H% }( b1 N: _' B! p  h
constructed so that a solution does exist.)
1 I+ ?7 F! D) @' b* w6 L* {$ E) R# Q6 Q  Z, \
% A# @/ e% z9 S

) h5 a+ A& B  v3 v& {& m, k0 j17.Consider a function which, for a given whole
8 }+ }/ x7 L4 Z  Y2 H# ~
: x2 n. v( J' T* S% h5 F) Q7 @number n, returns the number of ones required
' i( M" W: i& [3 b, q
- \+ X: C0 L+ o  xwhen writing out all numbers between 0 and n.
( m1 e$ ~% N7 @+ U1 G+ W& ^  ]
/ C+ @8 O/ p! {* e7 e' T" }/ EFor example, f(13)=6. Notice that f(1)=1. What; M' R' Y5 F+ U2 L. f0 q
" k) O# Z' ~+ d5 C# d# [
is the next largest n such that f(n)=n?
0 y1 `5 s- W! k4 z/ q& D
- q" p5 f- f; V  B& K2 i6 k# ~1 B4 S8 U. c% s

+ [7 h: Q7 b5 p7 d+ i18.What's the coolest hack you've ever written?( n+ H0 Q. ]5 I

5 \& ~) H) F+ l$ A9 I9 o, B& z8 }2 \) ]* e: b% q/ v

9 j; y$ A( l& z8 W! W( s! k19.'Tis known in refined company, that choosing, q" O( c- x$ Z
0 {( D  u; d' q% \
K things out of N can be done in ways as$ h* f  q' Q3 ?$ g* Z3 t

7 J0 |6 J5 e, d: u: H+ dmany as choosing N minus K from N: I pick K,' ]- Z( N. Q' E! f

) m2 O4 e( d' C2 J7 |4 Ayou the remaining.) `% i+ _, v3 }5 n3 G& w  x5 z

  s. x6 K0 s2 A9 H) `1 \/ o3 [
) G6 V+ b9 `. @5 J2 c. S! F2 s1 W& }: J# C+ [2 q8 E1 g( @1 h( G& _/ e8 q! H
Find though a cooler bijection, where you show% P% }8 @; q( p& _/ [/ ^

! N5 P) D% p! f. G+ p* y/ `a knack uncanny, of making your choices contain% P2 s4 K8 O8 R$ ]" L: z
1 @% m+ M0 g" k& J1 \) m
all K of mine. Oh, for pedantry: let K be no more3 {2 R" [1 j( V' t, A2 |

" t- N) Z3 k9 d# B9 l' Gthan half N.3 i3 P: E/ ~$ k$ M! E
0 U/ X- Y. K( R+ l& U$ G1 L* u

( V9 n6 o. O; g# l3 b$ s% W( W" u2 v$ ?
# t6 c" z6 a" [! j5 u& y8 ~( H20.What number comes next in the sequence:
7 ]8 @& A1 R6 g# X" M# y3 C$ P6 g8 G2 f% R* Y7 I/ p5 B+ @  _
10, 9, 60, 90, 70, 66,?
/ W6 _: Q$ e2 b; e+ Q1 k* W" R* [& v" H1 u9 H& F9 J! u. t
! b$ j. H5 U/ ]- M+ J: T
+ Y( I( |. @  D. q2 d6 Q1 D
A)96* ]" ^: e* a* R( m4 c/ l. u  {

+ r8 F, h# Y: q5 H1 T$ B+ kB) 1000000000000000000000000000000000! e( |% ?) }  m( w) Z8 b
  B2 e2 U$ j: i
0000000000000000000000000000000000# }5 Z4 [5 d8 @* p
0 f; R) O$ }: Y7 M
000000000000000000000000000000000! ~0 `* A# T9 Y1 a  b
1 r7 j/ \- Y& c- u/ }
C) Either of the above/ g) g  N4 E6 s# B  Y+ Y
( `( ^* X4 P$ g$ }) W, U8 G
D) None of the above) x* i9 w! N- s' I* N2 p
: u- b) _9 y$ ]9 W  E
" U/ K4 w: |$ y+ _( R5 u

3 h3 k3 @7 f$ j) Y0 R21.In 29 words or fewer, describe what you
( {; I* S7 S9 O9 Q% P+ n# T! t; N4 {2 ~6 e5 P. e7 O, S
would strive to accomplish if you worked
0 V3 K* |0 R* |0 |7 x' g: a( N4 w( |* o) H/ }
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-10-27 07:07 , Processed in 1.745774 second(s), 104 queries .

回顶部