# Q2 H- B# H" H: d- `# p1 z3 F0 Q* g. N
3. 5 n& U( o# u# \- z) x* s 2 I8 \9 i6 v, H$ P/ s19 w2 l7 a+ D$ J* D* N
3 J! @8 Y' J- C% d/ M$ C
1 11 j' L- ~1 n1 J' g
4 y" s/ A/ T4 S$ c- o7 G' l2 1 + h( ^; f5 P" L _& c; h D4 Y) h1 E( {9 F6 l. u* X
1 2 1 1# U/ O: t! Y, G/ A9 p" l+ z2 O8 {" M2 y
$ R" I# f9 ?1 c0 E
1 1 1 2 2 1 3 \3 o, ^9 q/ B! p* r3 A: v4 m1 v4 J% t0 S1 a
7 s0 B9 b6 N5 l8 r2 m7 g- t0 M3 ~0 k; n9 G+ x- p) S! c
What is the next line?) \0 g! y$ L; n! A# @
5 V/ w, M# W6 W& c1 {
O1 o6 C+ [/ t! h8 k" o( x# @& W3 l' ~9 [, \9 }6 C$ p
4. You are in a maze of twisty little passages, + [- _) ^' w4 h P( h1 F3 C5 p6 M9 F3 X' Gall alike. There is a dusty laptop here with a 3 z A* p# d9 r9 J* e( p# ] 3 N+ p' ]7 u x: y% `2 w# Xweak wireless connection. There are dull,! P1 l( m+ r4 H2 f
" w; r5 c) n0 s2 ~# `
lifeless gnomes strolling about. What dost ' W3 P0 |8 f9 z/ e1 N" T! m% j5 H7 D7 O; z
thou do?0 \) W* n9 e( `6 v) N- Q5 g
: O$ a' K2 O3 ?, O6 _$ q h ^& j5 r ' ?& k3 m4 W* e$ `9 k& F# B ( x6 G9 B+ ]% B+ p3 ^% F+ v+ JA) Wander aimlessly, bumping into# W' O, G. A" _& j" j2 n; h7 M) E- T
/ R) J' B8 d- A$ P. w
obstacles until you are eaten by a grue.& p2 {! E9 p* a
. n8 S' y1 T3 f/ E& `, AB) Use the laptop as a digging device to) N/ Q8 g2 U9 t
N* Q) B& x1 T7 D) b' z& A ]tunnel to the next level./ z v8 p8 e' X n( S2 N* ]
" k$ Q/ g U" F bC) Play MPoRPG until the battery dies! y/ ^6 o* [/ u
# c0 ?4 H5 n( {2 e1 y+ v6 P
along with your hopes. 6 S. e( I* z( N4 \' {3 h! l : [( [7 S0 e3 M9 k* _1 k( z% i6 _D) Use the computer to map the nodes 8 E g9 }& o, a, C! Q' V) Y$ a2 ?6 }- ~; @1 N1 a& f% l( g
of the maze and discover an exit path. # n; e( d! O3 T" r" B; w ( R" r8 P& g9 }) Q6 rE) Email your resume to Google, tell the& L, Q. j0 r. G' m1 O
t# P( D( A* @' Z
lead gnome you quit and find yourself 0 E. s# A3 l5 e0 S; G" u# k" h& H3 F
in whole different world.: }! F, j! T3 u* g' ]
, |$ n4 P5 r4 }& q+ Q
; |4 V2 `' _: P2 b 8 R2 d9 [& `# b/ P# }! u4 i, L5. What's broken with Unix?: U6 N8 Y) k0 F6 W' X- ~/ P
$ x8 g# W6 |. w, K8 lHow would you fix it? ( `6 N$ V7 e: g7 u, H! C. E6 h; h* E5 O' b7 Z
6 T8 L$ S' ^; w$ z) \
2 A5 T% }6 J1 W! @! C2 @
6. On your first day at Google, you discover 9 P: I0 h, U% `9 X, v, R" q& B/ B/ y4 x; w8 M4 u
that your cubicle mate wrote the textbook2 P$ p' l6 I" i
6 {0 ?" _1 ~) w/ q5 t
you used as a primary resource in your first7 A! J @! ?( b% b- s/ [$ d2 Q
4 P/ k- q; s/ w2 w3 {+ L
year of graduate school. Do you: ' j# W0 I3 `# E0 O3 ] 8 o# e" w& I5 A) e& g ; r* k# e, s9 P4 f1 o: h# R1 p2 H% O! v& p, W* o
A) Fawn obsequiously and ask if you & q. [; p8 w5 M 9 s, \: o C# s- I3 Bcan have an autograph. # `1 z0 G& q2 o) ?1 ~8 k# L$ N- ~+ |* I
B) Sit perfectly still and use only soft3 h/ F9 X6 s N/ z
% Z% K7 R$ B3 z) F7 Z, D
keystrokes to avoid disturbing her4 h* j8 S. l1 Z0 m
6 ~& Y5 o8 z3 Sconcentration. # z3 Y1 F U5 y" d. M: H: H; [7 Y0 B; b" k
C) Leave her daily offerings of granola5 B, _, |9 h9 s. b. t. R: K9 E2 A
m% R" o2 |* A: k# Zand English toffee from the food bins.; P- R7 W P2 X, x0 K' |( H5 u
; g9 W$ I/ e* k# [! u$ H
6 l' W$ k, Z) `8 c# H( e ' m6 E2 B7 W1 O0 ?' TD) Quote your favorite formula from the , w2 }( V4 f/ }$ T' v# o- g/ e1 E# T1 W) A
textbook and explain how it's now x" F( _8 F! }% g0 G
3 t: D* R9 X# n6 w& Q$ K- z
your mantra.. X6 H! U; @/ P6 g$ O
* L( W' g I- R( Z% q' ?# zE) Show her how example 17b could- [: s I T; [
0 c- H! Y# {/ A- V, l" a7 J/ w! hhave been solved with 34 fewer lines: J: ~, }9 w% o8 |' C. V1 ?: u6 T
) i1 ^! X' }! q5 u) |of code.8 j2 r: g6 d T# H3 f
t9 d/ r* g7 S7 b! s% s7. Which of the following expresses Google5 N/ X3 j7 u3 {1 H: M
& {9 f$ }: w, G' F9 c
over-arching philosophy?; F9 s n# J% b j
: \% {) q! z X; S; O0 v q4 |, U' O
3 u2 ~0 h: k/ @% s; p2 _/ D, lA) "I'm feeling lucky" * t _7 n2 [3 `! l2 L 1 p4 Z% v( X+ c5 n+ H: hB) "Don't be evil" 9 E. \" Q/ G1 x0 H; T + d6 d8 O% H5 c0 y2 j/ wC) "Oh, I already fixed that": }1 P2 [2 b: j( r; y6 V, i' r. x( g
3 m, }- O; c* u8 ID) "You should never be more than 2 G2 w, ~3 J4 w3 f3 c9 F2 i/ D5 h5 Y. x1 a% C, \1 {
50 feet from food"& V' w% K0 [; o1 A( S8 j2 t$ V6 J
5 c( g0 H, z: i. @6 IE) All of the above ; Y# B) j; i4 e6 l! a5 a; v& I ! I2 F4 ~0 ~ l 2 G3 F; } L2 n- O8 G ]9 F0 J: k' N
8. How many different ways can you color an" ?0 S8 Y V( M! t- O6 T
/ _2 U9 V& @) d, G2 d
icosahedron with one of three colors on, r3 o5 a5 b1 O& z6 D, H
F0 Q7 H* U6 I. j. d
each face?" U( T$ z* F- [/ W+ l# c6 o
& b- v! _" k6 M5 d9 m0 D
9 _. m( ^9 z l! n \- B6 u& C, }3 F! A# j
What colors would you choose?9 \! j7 |/ u. h P; X, q
/ G- G1 ], u. l+ q( u. p; P9 E5 @
4 @9 k& e: H# R( {1 s4 u" J" A3 j/ }/ w8 q* \5 q. d% H
9. This space left intentionally blank. Please fill it ( p ]6 r$ T$ a$ Z' u \ T- C6 r7 J- s% u5 S) Cwith something that improves upon emptiness.3 ^" p7 J: g: W7 g8 g
" g5 B# t* i# z. J; M |/ Y- e, n5 M G, [! N& |( i
( _" T( U; V$ u% ?
10.On an infinite, two-dimensional, rectangular+ u- I0 [% p& d# p* R# W
% ?. v, v& c2 m: ^, t/ P% d
lattice of 1-ohm resistors, what is the' W9 L8 I S1 l- j, g- T
& p& `& I: {* l; ?' uresistance between two nodes that are a) X% i- f5 K3 }
1 J; }) V) G& }3 Cknight's move away? * D8 Y e; T* P4 t" r$ V 0 w, c8 z. o0 Y0 {' M: B5 o$ a F# d, R$ C; @9 r5 R
$ H# m0 u, ^1 e11.It's 2 PM on a sunny Sunday afternoon in the ; C5 ~ e# S3 L H/ b0 g8 x8 y2 J- l% x# [* ~2 i( b
Bay Area. You're minutes from the Pacific, F6 r# s# g6 e# D' Y# l
9 N- A) |8 e3 r! B8 o* t
Ocean, redwood forest hiking trails and world . v1 @1 b! E' c4 w9 c0 m. L' v3 Y% E& h1 ], B y# @2 e2 z
class cultural attractions. What do you do?' ?% `+ ~4 l0 Y# e
& \) q: L( u# f- v3 P 8 I7 c" V8 G% F " O. J0 M" D) s% ?( i! C12.In your opinion, what is the most beautiful @: D/ [, \! v/ @* V) n3 N- `8 p" ^% P% j @, I! ~
math equation ever derived? : [0 i' ?) Y0 S: {. @9 Y3 n/ Y. a) T- ?2 Y8 ]( ]" w
$ R8 V6 `* `' A( D ! x2 Q2 I4 ]6 f. ?13. Which of the following is NOT an actual7 |) q8 |0 f! M5 C- i
. Z( b6 w6 m/ N( l3 s9 O) \interest group formed by Google employees? ?5 |* u" g Q% s/ ?" ^: O/ I9 b& O
$ Z6 _/ c0 H- R+ t0 H: X2 d5 zD. Nobel winners 0 q! n' ^. |3 l' I& t4 E8 z( R ) V1 C# m) q l& JE. Wine club 0 T$ i* a8 `7 Q. \$ B7 G* I0 l* Q$ v& l6 L. }4 v
% p' G# ]5 ]0 x% W( n# f* p% P
14.What will be the next great improvement in" n/ k% [: z; [) c1 @( M
! x3 i/ j$ v7 G7 c, Q& C
search technology? 0 O0 u, L$ ^( H; r$ H- P" P& W+ S% ~
# g* y2 v. x3 @1 S2 F
: G: ~9 w: ~! |- _- e! w
15.What is the optimal size of a project team, 1 d& b5 V% b& C* z% `$ O) h* u J4 t* E9 t9 q" o; y6 v
above which additional members do not + e6 Z9 S6 T& }/ h0 H8 h5 z, M3 {* h" K! g& M7 f! ]% [- J2 f9 I
contribute productivity equivalent to the3 v7 Z$ s3 _+ V% {. y, I0 A
3 B. w+ B& s7 _1 wpercentage increase in the staff size?& U K7 a2 u+ K8 K. M# S
! I1 g1 g! Z( p, ~
A) 1 7 E8 m( d1 q2 m( S- n, \: a5 p9 @. ]5 u# O/ M* l
B) 3' Q( [$ O1 {& `" k. O+ S
- p5 }$ B- {# g' ?0 F4 lC) 5 / ]3 |$ ^, ^" N6 U6 Q7 s9 H& z9 ]$ C& T3 T
D) 11 h$ s7 c- }$ T7 q, S; |
6 p6 f; J7 u9 O4 ^
E) 24 * u7 N2 J# c/ ?/ H- L3 s j$ n8 M; W& E6 J) c- V( r1 X2 c( S: p+ M* U$ I1 s$ u) i
" R1 P# D8 [$ z x
16.Given a triangle ABC, how would you use only ( j r: |$ b8 i 3 a% u4 c' z C, ka compass and straight edge to find a point P % S# F1 w3 Z. [% M! t3 g5 c9 A# a5 d! k# \/ {/ e* b
such that triangles ABP, ACP and BCP have ' U8 `, g+ |0 V- T: w0 L- ~* [/ F, h/ N
equal perimeters? (Assume that ABC is ; Q3 w$ @& p$ }: C$ l/ l. j- Y$ p/ f; Y, h' V# X5 E5 Z6 |
constructed so that a solution does exist.) 1 B1 k1 c0 T$ T# Z/ }6 M' X " H/ G! ~# s; B 4 z! \( I Q) I. _; l * A- _1 @ a& }! [17.Consider a function which, for a given whole4 r1 W8 r- s! `0 ^' o* X9 f, g
) w' t6 B$ Q6 ?8 w) `5 D7 y
number n, returns the number of ones required& g4 U* A" y1 x
) f( N/ A. A: a9 b8 L- l( }: vwhen writing out all numbers between 0 and n. % p: P$ |& m$ v2 H: B9 l# M% q+ R4 {, Y
For example, f(13)=6. Notice that f(1)=1. What C& ?# h9 K+ l4 @- L/ j1 p8 |4 |+ [- x5 r8 n8 C
is the next largest n such that f(n)=n? 7 ~, r; H% l7 v0 D3 T) V# h0 C* R/ l2 |+ H5 D( b! X1 `5 z# b
3 _% x' Q. T+ G6 C; c& q3 M* i - y. ~- l2 y7 I- ~! E8 ^& J18.What's the coolest hack you've ever written?% C2 C! R# j( R2 U8 E* Z
# x6 C8 c0 B1 q3 R% |# O
* |: H7 n' o0 f* Y
1 g' v, r u w7 H( T19.'Tis known in refined company, that choosing : K% b+ X* e: C4 I$ I6 V" h8 h3 B( r: o
K things out of N can be done in ways as1 e4 _; F: o' T" \. Z; t- P
8 w R7 T1 C3 F2 Xmany as choosing N minus K from N: I pick K,/ Z( s. L7 y ]& P9 W/ S- m( z
/ y5 ^# L9 m, _* S( T I, ^
you the remaining. 7 X, n2 v% i" o ^7 _1 Z g- _$ G- v . {8 S! }% q' R2 U+ n$ S4 F) c. p' N+ }: o5 @& N
Find though a cooler bijection, where you show * e1 U' t: \, u2 `( [ d0 y: c; c7 ~- D: c7 La knack uncanny, of making your choices contain4 S9 R) S2 S& `; ?! j+ |( x3 P
& R5 Q" I6 N# y2 v
all K of mine. Oh, for pedantry: let K be no more; J' E: N8 A4 c0 w3 {/ M7 \
5 I; R2 m# c& T. B* a9 B0 Zthan half N.4 K3 Z- r" a) D5 p/ k$ K' Q; ~
0 n9 G) B! L' a ; o) T! H! M' z% u) E ; s8 w7 l$ X6 B: X! Y! C20.What number comes next in the sequence: % p, s5 M% e: u0 [9 ?$ @! [( K; G- c* M! F5 p; Z2 u! h
10, 9, 60, 90, 70, 66,?$ x- v+ P. n( C- g' S
: q1 j) Z$ i6 e 0 h3 u9 R: F9 h E) L3 s: J 3 i# t, q% d+ W: TA)96 ) C: x/ n, _1 x5 ] - N7 ^! I% O( u9 ]' \B) 1000000000000000000000000000000000 # u: E4 t: z' \6 @ @2 R1 B , r. T1 u% z6 e8 j0 S! W0000000000000000000000000000000000 s: z( L }' Q* m' a Q& }
/ M* a* A9 T4 n' ^3 A# z000000000000000000000000000000000 7 ]2 W m6 o& ?" I, ^ + `( h$ Q5 N) |- r1 g) n7 NC) Either of the above 2 q# H' c8 M- ] U; c- F ! T6 y1 a6 }& v1 ID) None of the above" L- g2 D# a2 u6 s2 z! H
/ ]0 f$ M9 `3 n5 y% O
3 t: S+ o( @, W2 X: N . n. _( M/ V P$ i$ _' K. _, J& h21.In 29 words or fewer, describe what you * e/ n" y* v9 G! a) Q( E5 L/ f3 Z( h/ ~( A3 e. `6 {; p, W
would strive to accomplish if you worked" [+ \- d$ z- d8 I* u0 P
6 h5 Y$ u$ O2 A
at Google Labs.