找回密码
 加入后院

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
查看: 843|回复: 0

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

[复制链接]
发表于 2005-11-9 12:25 | 显示全部楼层 |阅读模式
【 以下文字转载自 CS 讨论区 】
8 @+ S- u& s/ H. Z  q& }【 原文由 hedan 所发表 】4 I8 b/ ]5 }8 a2 }
: a' K$ U' R7 `7 Z
10月底,Google在美国《麻省技术评论》、《LinuxJournal》、《Mensa》、《今
+ M( J, \0 A( F) A日物理》等几本专业杂志上,刊登了一份“Google实验室能力倾向测试”。! s+ @+ l; ~! o$ j
  试卷开头,蛊惑地写着“试试看!把答案寄回Google,你有希望去Google总部
: T4 R1 X) W' t. a参观,并成为我们其中一员”。
7 `- a4 P/ X- T# x' `+ s& N0 x, z! Y1 }5 r
我看了这些题目,虽然古怪,但是也不算有困难,有兴趣的人可以做完了邮寄给
9 V; C8 ^1 Z3 Z9 |/ t, E3 xgoogle公司,也许会得到一个工作机会呢。4 \( V0 y1 K3 j9 F6 ^$ ?9 C
$ Y3 j5 F1 D% l3 Z
注:不要向我要答案。0 B! u2 A  l- {% V0 S  f( @
: T( x. Z$ j4 S4 [
1. Solve this cryptic equation, realizing of; o( R9 D# _  y
course that values for M and E could be
$ {. F/ t9 b! z( F6 T$ r' t9 f) [, winterchanged. No leading zeros are allowed.
2 U8 w7 Y( c! \( d) @+ B0 }/ n; r
5 ?4 }( d% [2 F) z/ m' UWWWDOT - GOOGLE = DOTCOM
" z3 A: q% t1 G+ y, [1 w0 O8 A* c$ U! a, H- |. Q% j
2. Write a haiku describing possible methods& n8 H( M4 j' D% X& ?. H
for predicting search traffic seasonality.
+ k( d. f. T+ ~; }" a! W* {3 U5 k
* f; B1 S1 r" K- b3.
1 }, _* m) X, C8 r" }14 C/ o" Z+ t( L5 ?7 h
1 11 i" r  |& n5 M# V1 q+ J
2 1/ L" O+ G# x' O3 Z. N
1 2 1 10 I: N9 @% r/ h4 I  E' y
1 1 1 2 2 17 V$ O  r. i' {2 J* O, W- N( j! Z

4 k5 V6 t* I7 G% T% o, kWhat is the next line?& V; d4 M' x0 E/ q, |! w
7 }4 c$ X, }; C2 W- A3 a  f
4. You are in a maze of twisty little passages,
6 R8 p/ a* ~' W1 u' Qall alike. There is a dusty laptop here with a& v" c) S" W9 H2 _, f0 }( Z" N
weak wireless connection. There are dull,& U/ @3 F8 l+ J9 Z/ _1 t
lifeless gnomes strolling about. What dost
) Y5 a4 x) [5 i3 `( W0 F8 H5 xthou do?- x2 y/ d4 e- E# ?- M

# }3 \0 C3 L- j) kA) Wander aimlessly, bumping into4 k0 G% y5 j% ]. P: N; M, q5 D/ u4 V
obstacles until you are eaten by a grue.0 h/ T( }* h+ {
B) Use the laptop as a digging device to& b  ~; ^- ^+ m& q- L) U" S
tunnel to the next level.
0 M* I+ N( G+ p0 L$ S4 e* v2 bC) Play MPoRPG until the battery dies/ O0 i5 k0 d/ {' T# _% Y) p  d
along with your hopes.
2 x9 t% d- H1 Q4 A) u& ]D) Use the computer to map the nodes
3 t1 A8 h: y$ a4 C  tof the maze and discover an exit path.
9 p/ u4 h& x/ U5 l0 w3 TE) Email your resume to Google, tell the" Y8 s$ p& e6 r
lead gnome you quit and find yourself
0 k1 H' G8 C5 Iin whole different world.
" l2 z" c1 J) D) @, Z. H2 N' T* M- I9 s2 N( |; |
5. What's broken with Unix?! M6 J( J; e$ A, I8 T# O# H
How would you fix it?
- E- u& ^6 E+ F. L; z  F6 w% }6 s. Q1 ~& i$ h1 A
6. On your first day at Google, you discover
& g; x6 N! p  Jthat your cubicle mate wrote the textbook( }0 K% r3 g" \' q" ]
you used as a primary resource in your first3 {+ R# K4 }3 ?1 x* a9 }6 }
year of graduate school. Do you:
: e5 U. \+ F9 w$ V
. p* L" @( U! D" l7 O  ^" I$ OA) Fawn obsequiously and ask if you. T6 a  \3 `: ?+ F
can have an autograph.; W- }2 i& ~+ k0 j: L
B) Sit perfectly still and use only soft3 `+ r" M5 [8 |6 U7 s
keystrokes to avoid disturbing her' E$ i+ m9 z$ G8 L
concentration.- I! E" f: t2 q+ I
C) Leave her daily offerings of granola& ]3 g$ v8 w+ W) J6 H
and English toffee from the food bins.
2 j4 T1 ?4 J3 D& a: @* t" q+ Y% B) C
D) Quote your favorite formula from the0 l4 P% q0 z! w  I
textbook and explain how it's now
/ j/ {, H+ [5 |2 Z- G7 byour mantra./ i* S; f5 r# y1 \& p
E) Show her how example 17b could2 W9 K+ x& Y3 T7 K' R/ E) d
have been solved with 34 fewer lines+ P) L" [) d: l9 y* p% Z% R
of code.7 ^7 F5 b+ W6 J1 |/ l. l: e9 E. v
7. Which of the following expresses Google□% Y* V- @8 u" X5 ^# A& W
over-arching philosophy?
- Y* G/ g6 v5 _) i: x, J0 L
5 J1 i' t+ {& y) N! {1 N0 I* l8 iA) "I'm feeling lucky"
8 s8 L% t+ e( w  D) _B) "Don't be evil"
! z4 R- v2 D+ u+ }2 c: DC) "Oh, I already fixed that"
# M) M2 _, |9 KD) "You should never be more than) y+ V, f& ~5 M" k
50 feet from food"5 R( M1 u$ @% X3 f1 ~: l1 T
E) All of the above2 i8 }, Q+ \% m; k6 n8 B% B! b
9 T, U7 E7 {3 x
8. How many different ways can you color an
  K  m4 u/ a2 a/ e- ^$ q/ yicosahedron with one of three colors on1 J7 k. ]# c; L) V8 M; Q, V
each face?
# D9 W$ Z) A. R7 c' v
! B8 }- @2 R! cWhat colors would you choose?0 S/ M* B: j6 t: y
4 k) @4 B7 w/ p* I% E: n$ G7 D
9. This space left intentionally blank. Please fill it
' T% ~" c+ _1 Y) swith something that improves upon emptiness.
6 C7 @. b3 C+ C. R# H1 `- F( D& B0 o: Z' Z5 r
10.On an infinite, two-dimensional, rectangular
% L& ^+ m$ o  v. t, zlattice of 1-ohm resistors, what is the9 P4 G3 i, q1 Q& |4 x# l
resistance between two nodes that are a) A; ], `* g! e4 s' P; ]3 I6 m
knight's move away?1 U# D3 b( `4 y* i" ~/ b
7 c. y( O; d) p$ T
11.It's 2 PM on a sunny Sunday afternoon in the
$ X4 t& C7 V) Z# L0 K* h1 K" bBay Area. You're minutes from the Pacific
& p& X; h/ }8 c  K) u# m" rOcean, redwood forest hiking trails and world
. F( w8 W& F0 G+ |: p) vclass cultural attractions. What do you do?" N7 I# F! h, \: q

8 [2 F7 b7 j0 i" ]" _12.In your opinion, what is the most beautiful1 d3 o+ }  e. K7 k: r
math equation ever derived?, c* r8 {5 Y, f1 x+ X6 s5 [

/ \0 L1 a& R5 N9 J+ o. x/ w13. Which of the following is NOT an actual! p/ a' ?* R3 z/ M, U7 b. |
interest group formed by Google employees?
! v" b* d& u+ ?* p6 v$ R# M* X
; k8 T& O! Z, x" `A. Women's basketball( l6 q9 q* _: l3 |( M
B. Buffy fans$ W4 z/ e5 o% h7 G, U
C. Cricketeers+ g4 \: ?) |5 z' x/ m
D. Nobel winners
( s2 N1 ?+ O8 O, M; H; I1 N  ~E. Wine club
, ~. F2 X4 M" M- h: T+ i) n1 [  S
0 ^) c6 U( ]3 }# s8 Q14.What will be the next great improvement in, S" @7 a4 G$ o3 Q  }
search technology?) [& ]& M1 q: k# [( z
( E4 S4 H  l" o$ a/ U/ s' ?
15.What is the optimal size of a project team,
% `. `% P: M# m2 ?$ q2 Eabove which additional members do not
6 A: E+ c$ a  ^2 ocontribute productivity equivalent to the
* T" I6 i" C7 D/ ?+ }percentage increase in the staff size?3 |! S; J9 C& P5 e: Q
A) 1! s9 }3 Z% O6 {/ J
B) 3
1 }7 v1 `( @0 u$ gC) 5  x" W5 Z, f$ n+ v
D) 11
. u: A, Z' t% D7 A' R9 z! gE) 24
- {) Q7 v& E  A; R# C! [2 K7 m
, E9 b4 R( A/ r, l1 w- A16.Given a triangle ABC, how would you use only
$ \$ G6 ]8 P3 K5 [a compass and straight edge to find a point P2 Q; h, |  G) k/ l5 F
such that triangles ABP, ACP and BCP have! _! J& d& `' q5 E8 d- B0 J
equal perimeters? (Assume that ABC is0 p' O8 o5 i# ?5 ~; M& K
constructed so that a solution does exist.)1 I3 _/ q- C  U2 \
6 ^# M/ M- M3 a& f7 K1 N& q4 @
17.Consider a function which, for a given whole6 K5 O* ~, [$ ?
number n, returns the number of ones required- w; x5 W, o6 d
when writing out all numbers between 0 and n.
5 W% b  ~  W6 S$ m0 nFor example, f(13)=6. Notice that f(1)=1. What
! ^8 H: p. i' Y  I6 _is the next largest n such that f(n)=n?
/ o. T- P- l, i( @, _" A0 s+ L5 b
' ~. z: q$ b7 d+ U9 E! a18.What's the coolest hack you've ever written?
% N# ]$ r. y6 K! ^+ x( P
! ?9 ], p$ t4 E- T; d4 P' r19.'Tis known in refined company, that choosing
: p7 g, g$ s4 n, qK things out of N can be done in ways as4 f  y" B5 j: ~; `
many as choosing N minus K from N: I pick K,7 n' Z; M0 V. K7 r0 M1 n! B
you the remaining.
. ~) u0 k: a; w, {
. I% l6 Y8 ~) wFind though a cooler bijection, where you show5 y: n! j/ j, i# W& q, |1 T5 f
a knack uncanny, of making your choices contain# A" u2 `/ t7 r# ?$ Y5 \
all K of mine. Oh, for pedantry: let K be no more
  g" q& I$ }* f5 ~' o4 {1 wthan half N.$ H! b5 A0 i$ l& F
7 ~" l$ K. m. E6 w
20.What number comes next in the sequence:4 f9 z# D+ o  X! |6 \" V
10, 9, 60, 90, 70, 66,?5 m* q0 K% a* n5 |

4 |, [5 [# s9 J( ?: WA)96% j" D- ?# v" n# I9 G4 n
B) 1000000000000000000000000000000000
' i: T0 e: t% H8 b0000000000000000000000000000000000! g0 a) U8 Q; h! r9 D2 r1 t
000000000000000000000000000000000
) J4 q) i& X& I2 W  Z5 S+ bC) Either of the above. \8 t: x/ x1 E5 q( d, {) E
D) None of the above% X% \( l2 V0 [, `* l) ]% t4 W

0 L  E7 T% R+ `5 |- X21.In 29 words or fewer, describe what you
* n- R4 z5 x  y0 |4 Q& Awould strive to accomplish if you worked* \, B1 O" }- |1 W1 }
at Google Labs.
您需要登录后才可以回帖 登录 | 加入后院

本版积分规则

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

GMT+8, 2026-3-13 01:00

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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