工大后院

 找回密码
 加入后院

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
查看: 822|回复: 0

[转载] google 21题面试题目(不知有没有贴过)

[复制链接]
发表于 2005-11-9 12:25 | 显示全部楼层 |阅读模式
【 以下文字转载自 CS 讨论区 】( z( r/ S4 C0 ^
【 原文由 hedan 所发表 】* ]8 r+ B. |) P6 D+ Z& l8 [

: L9 ]( D1 H0 b* A' ^" u5 p5 s10月底,Google在美国《麻省技术评论》、《LinuxJournal》、《Mensa》、《今* J2 b; U" E4 f" q
日物理》等几本专业杂志上,刊登了一份“Google实验室能力倾向测试”。; N3 N' y) w9 k8 p9 i
  试卷开头,蛊惑地写着“试试看!把答案寄回Google,你有希望去Google总部
# f+ w0 B# j% T参观,并成为我们其中一员”。
# ^$ L, }, a* }9 ?: o9 X$ ]. J( w1 }! ~1 f* s$ P# d
我看了这些题目,虽然古怪,但是也不算有困难,有兴趣的人可以做完了邮寄给7 J. u5 x7 G8 S. N1 m  T# \5 d: Y
google公司,也许会得到一个工作机会呢。/ d' c# U' S4 M5 D- N

/ X: b% D. G: W) j6 A2 E5 Y& \注:不要向我要答案。
" I6 N( `; A2 \) w. G3 W; s+ \9 o/ m$ H7 ~8 C; p8 q; _
1. Solve this cryptic equation, realizing of
6 E5 W# f8 J9 V  p! D- Q+ [, Dcourse that values for M and E could be# H, A9 L8 ~+ g6 ?  H4 I5 E: B
interchanged. No leading zeros are allowed.8 ~% A+ k8 O2 ?) O1 m( A; L
; R" I; l+ H+ l! r/ k: H9 ?% _; C7 j
WWWDOT - GOOGLE = DOTCOM# t3 ^+ s) @' U& A/ n
4 x* T& f$ s% w8 ^1 v* S
2. Write a haiku describing possible methods* V1 z- L; c. g  y& Y6 b
for predicting search traffic seasonality.
. G' G- p! p' [$ ^4 S9 R
8 B" |/ p# c' E3.
" E* Y. b7 f, |; f16 a0 Q+ G! G# N$ i8 g
1 1  Y, n$ Y" h# a
2 1: X2 O/ B  k$ y3 m3 @( u
1 2 1 1/ H5 ~% f$ |: @: p' B2 z
1 1 1 2 2 1  @- J+ d! A1 l1 m8 y6 }! e/ ]
' Z0 S" @6 h" [* g$ {
What is the next line?! e; z- o8 d% T& x# _; T

: U# k( X% t8 p3 a# ?$ O4. You are in a maze of twisty little passages,
; ]% _9 L1 j. Y2 S- @  ?, J; yall alike. There is a dusty laptop here with a; a9 v/ L# y/ z3 ?  }3 n
weak wireless connection. There are dull,* f: Z; M9 k$ J2 Y
lifeless gnomes strolling about. What dost+ _* l, Q# H* T$ W* u- p
thou do?
: i. a3 ?7 O  X9 u' M: u- y4 V
& Y6 n! n* p( A. C6 Z# v: v9 XA) Wander aimlessly, bumping into; v+ h& {8 Q/ t/ C
obstacles until you are eaten by a grue.2 h! p$ [6 e+ F, ]
B) Use the laptop as a digging device to
- I& v! [3 k0 X- y+ k* @8 Rtunnel to the next level.+ D6 G6 N3 P  n- P- w4 D5 p4 ~8 U
C) Play MPoRPG until the battery dies2 q" K, p" c/ v+ [+ [5 M
along with your hopes.
3 A  Q, n4 B/ D  q2 c  g9 TD) Use the computer to map the nodes
8 T( w5 B. W: Kof the maze and discover an exit path.8 j% C, o' i- r$ M
E) Email your resume to Google, tell the
0 [- O& c/ Q2 J& ?6 x0 g: Jlead gnome you quit and find yourself8 k9 u& P' w* F# I
in whole different world.: S+ ]5 {  ]# Q9 E. `( G7 N4 W

7 l! v6 t- \: p# D5. What's broken with Unix?  u% ~- z* O( Z' n4 R5 {& o
How would you fix it?
. J; D5 M5 a9 y3 g: ?
5 m1 V  J4 |$ t! b9 ~0 s6. On your first day at Google, you discover' u, U% v5 y5 F5 P2 }' z1 ^( _1 j
that your cubicle mate wrote the textbook4 S) ]( A# l& E# _. Y1 J- T
you used as a primary resource in your first
& g6 v" n8 ]$ _& H9 O, _year of graduate school. Do you:5 |# ?3 s+ F  N0 E7 M4 J$ L

4 a  ?& A* B  `9 V  RA) Fawn obsequiously and ask if you  V+ V/ r' T6 m* W$ g, v
can have an autograph.- C& }- O& `% P; S+ ~
B) Sit perfectly still and use only soft! t8 R5 X; F  a) l+ n
keystrokes to avoid disturbing her, o. z1 `9 T- V! ]
concentration.! e, X* j) D) R+ ^& H9 N
C) Leave her daily offerings of granola
2 w1 g* S4 W3 G5 \. f* j1 r0 Zand English toffee from the food bins.
2 `  a2 D5 O1 S. m' W; J2 f
5 w$ q0 D- H+ p5 Y# i8 ]) wD) Quote your favorite formula from the. ?0 p  l5 g0 T$ `0 Y: o
textbook and explain how it's now5 h4 w; R. Q8 `/ _/ Q
your mantra.$ c! u; J/ v  z: {+ k
E) Show her how example 17b could8 c1 _; a" r- E6 o4 B. S* q
have been solved with 34 fewer lines
$ C2 x6 R# k7 ^  vof code., q- r0 b0 Y0 X
7. Which of the following expresses Google□6 h! j9 X/ i3 t( F5 B4 V$ g
over-arching philosophy?
" K# f! z( I- x# c8 E5 g$ W" E1 n" ~: I5 |8 k% X
A) "I'm feeling lucky"
& d0 l( ~: Z, ]  @  w  yB) "Don't be evil"
% R7 H* n# ?$ i  y, V: X. BC) "Oh, I already fixed that"
1 S/ N7 m5 ]4 nD) "You should never be more than) f2 Q. Y* r$ \+ W1 C" ~2 w6 q
50 feet from food"
$ X) i% l$ T* _! e6 QE) All of the above4 p; C' b0 T8 L
& ]* j# B( L7 a8 b4 x
8. How many different ways can you color an
' x- X! J- J; n7 U* I) sicosahedron with one of three colors on9 k- \) B* ~1 Y2 k$ O
each face?
. `+ I- Y0 q7 Z) `9 C( |* q# D, O# j* i) N0 w
What colors would you choose?# l: x6 V5 l3 Z0 @
, w5 l* \/ P6 y, `
9. This space left intentionally blank. Please fill it! `# U0 R/ |0 Q  @4 o8 H
with something that improves upon emptiness.+ ^2 R7 N9 K! ^, {2 t* s
5 A8 N; z) V( b
10.On an infinite, two-dimensional, rectangular
! B/ f! i' n: C* e8 D9 i# W# B6 I  ^lattice of 1-ohm resistors, what is the6 S1 e: x4 R& U
resistance between two nodes that are a5 L- u# @1 u5 z- a1 D
knight's move away?; e8 t% F: ^: x( B. n% j* R

2 h7 s# x$ b" ?9 g( m6 i11.It's 2 PM on a sunny Sunday afternoon in the8 I9 O+ p" |3 h8 m! d( P
Bay Area. You're minutes from the Pacific
6 n. P4 A& W7 K/ g7 BOcean, redwood forest hiking trails and world
3 N0 R& J4 r; \) M1 Dclass cultural attractions. What do you do?/ n  t+ C  b4 X  |0 U* e, E1 K
, U" o% w' b% Y3 I: z1 z
12.In your opinion, what is the most beautiful
, T# C5 t/ @2 L( K7 pmath equation ever derived?) C: n& O+ S( }- F: b! R; s

9 W7 k+ c7 z/ W$ ?13. Which of the following is NOT an actual) |) u; H; v8 E6 \
interest group formed by Google employees?( U6 }# B) x5 T( C! w; t
6 n1 o: W: r; W9 k6 |1 \. ~
A. Women's basketball
/ B+ R9 C& H6 c+ d' Z3 m: D9 LB. Buffy fans5 w! D% i8 s( J: O. k
C. Cricketeers
0 q4 G8 t! k2 Z& aD. Nobel winners$ P* O  t7 Y4 r' y
E. Wine club
5 k$ S1 O7 x! f2 Q. A. _  v+ U" q
14.What will be the next great improvement in
/ k  S7 t+ ?6 q/ _! Ssearch technology?
9 s/ s$ X& r' P9 r% N
  x; n& q, M+ z15.What is the optimal size of a project team,, H! Y0 p: Z+ C7 U" L/ l3 y
above which additional members do not9 f5 D9 |1 i- ?) ~
contribute productivity equivalent to the" Z. U0 I0 v" _" I2 J  ~
percentage increase in the staff size?6 n9 W( K6 f% A9 V9 i4 k; ?% `
A) 1
5 w7 B9 l  m( m) c3 ?' ^B) 3& A6 D7 ?7 E0 {: b# Q3 a1 E
C) 53 F. y8 n$ `0 z" a; R
D) 11
; ?0 Q  Z' P, X" G6 \' nE) 24; h3 Q$ S8 ^# W- S8 i; |
, ^& Y/ }% ^5 E" R3 l
16.Given a triangle ABC, how would you use only. N. k, T+ v  _* ?/ T& ]4 Q
a compass and straight edge to find a point P
/ w3 [/ V# \0 c: wsuch that triangles ABP, ACP and BCP have
7 @6 l+ j- G2 R; W* s, G! ?4 i* Lequal perimeters? (Assume that ABC is: w& h% a: f2 A% U
constructed so that a solution does exist.)
6 Q3 w1 a$ w3 }- t) x4 G" m6 g: p  g  v4 m+ a* L6 i3 y
17.Consider a function which, for a given whole' d* l: x- U5 g, p
number n, returns the number of ones required3 |( X8 R# b. D( ^  ^3 n
when writing out all numbers between 0 and n.
0 O/ F, c, P* o3 Q8 b4 FFor example, f(13)=6. Notice that f(1)=1. What% g: h6 c( s) L( @0 {0 T
is the next largest n such that f(n)=n?" B& ]+ _3 l0 P  _; _

0 d; `1 d# c$ [) v* }18.What's the coolest hack you've ever written?
# O) S! Q  \& }0 `+ S/ f  O% a
7 d# l8 m' {% H( B, }5 G5 e19.'Tis known in refined company, that choosing
( ?, J$ x0 ]# v( _; wK things out of N can be done in ways as
7 I' |" f- E% O0 mmany as choosing N minus K from N: I pick K,' z" ?' Z" r4 q  x
you the remaining.
, n. t  l& R! s! r( d4 {+ |5 C+ v
4 b: o5 r4 ^) n4 ]Find though a cooler bijection, where you show& A. S$ ]& _; A1 k; C% d# ^
a knack uncanny, of making your choices contain8 B7 N3 M9 T2 |  G1 u
all K of mine. Oh, for pedantry: let K be no more
* h6 a9 R7 h& d$ M1 j6 othan half N.: `( W  t2 p6 ~3 M# @* `) d" W
3 Q  v& b6 f+ X1 I* q
20.What number comes next in the sequence:7 g  m& V8 W3 y" P
10, 9, 60, 90, 70, 66,?' d4 g. L- p9 {' u" p* V

- v+ [. g2 h* b/ @A)96; W  ~& Y0 j5 m: F0 O/ v6 J/ b
B) 1000000000000000000000000000000000
: \, C$ m- g. y/ z0 n0000000000000000000000000000000000
8 b+ A. ^, _' h) v000000000000000000000000000000000
# Q' a  n/ n5 N% F1 N4 LC) Either of the above
$ g* U  g3 ^4 f7 v  ZD) None of the above% ~& B. i# Z0 P: L6 b5 g5 t$ r
! U4 u' O$ P8 c- v. ]% n0 O3 X8 G
21.In 29 words or fewer, describe what you- q& Z8 x% Y6 H  s8 r% ^0 `
would strive to accomplish if you worked
* s4 [( Z+ u5 k( {at Google Labs.
您需要登录后才可以回帖 登录 | 加入后院

本版积分规则

QQ|Archiver|手机版|小黑屋|广告业务Q|工大后院 ( 粤ICP备10013660号 )

GMT+8, 2025-11-5 10:38

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表