QQ登录

只需要一步,快速开始

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

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

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

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of/ c0 z3 A5 \) e; P
! Y+ g1 l# i4 @
course that values for M and E could be) b" h  |" q: I1 x4 d
6 I* W/ }/ {$ K) c( f$ E- X
interchanged. No leading zeros are allowed.
6 ~$ ^, K; T, \  u- E7 h& Y7 K# \1 }: Y8 H+ w& U; b* k( F

& e2 e; c* s* x% ?2 I4 D5 ^9 R0 J; X( n
WWWDOT - GOOGLE = DOTCOM
* f. ^+ K0 {9 O; w! w* n
6 B6 H0 o6 d: ^8 s+ r4 p
" a0 E7 L" C- x# F3 T' K& ^7 Y
" l% K! V/ j/ N/ r5 a; w9 ]. V3 \. E2. Write a haiku describing possible methods, Z5 n. N9 R* s
2 `( [) C% y0 l0 u% A
for predicting search traffic seasonality.
/ Z/ H/ F* ]" c6 O
; i" c% s* J+ [2 X7 }% k( O4 J
3 p1 P- U3 B5 t* u4 z
* u: t, C7 I: y" j) o" F3.4 {  A/ I- V5 |# H7 u- j5 U

% K1 y5 l0 j6 a, J# Z1
4 ?* v$ W% |& {0 }4 G; `
! ~: H) O% P9 B$ a1 1
2 N" j. {6 K% b3 X
; w& f# W3 a/ ~' T3 t, U2 1
% Y" x" d$ g0 x3 V5 T+ w: ]: k. @% o$ c0 J
1 2 1 1
- h% V, V8 M* m! W" w
5 U7 p+ @$ \+ ~. {& o1 1 1 2 2 1. k/ t- T' g( R8 p* M/ {. N
: w4 ~) F. F  X8 J8 S6 u
# O& H2 G" D! K1 q! |- g
1 p4 ?( m+ }, v# X: e" f
What is the next line?" G) A/ |+ H4 r

; }, H: u' a" z- f6 c& \9 o; z8 c. r) J3 y& g: E
$ }0 R- x9 M) M" j* d. \" p% S( |1 P
4. You are in a maze of twisty little passages,
! C- n/ u4 d9 O% K3 T; n) ~; n3 r# L+ s' ~; _- B$ L3 l# R7 S
all alike. There is a dusty laptop here with a: Z) _( v6 o$ X) \& z3 p
, q4 R2 `, V; R  s: Z
weak wireless connection. There are dull,* H/ \# O! G  c* m

' x6 D# Y5 T8 x5 {lifeless gnomes strolling about. What dost
5 i. \# E( O* A; E- K+ e2 C" H  w+ J+ w
thou do?
/ T/ I9 b0 l5 x7 N" S/ T/ Y3 K; i: F$ j; `# u4 @6 t/ D$ `4 L

$ B, K8 l; Z  S* m! y4 w0 B. g& G7 f0 B# a* n- X6 q( f+ e1 k
A) Wander aimlessly, bumping into
/ c. y* w( a/ K8 Z
3 C& r  n$ }8 x) Q8 ?obstacles until you are eaten by a grue.% G9 N& r3 |" g' a

: c; U2 L5 |+ x# I4 ]6 FB) Use the laptop as a digging device to$ w3 J4 x+ [( l0 X: u* m) ^5 R

8 F2 _/ m8 _( J; `* ltunnel to the next level.6 R2 ?2 c4 {, \8 H
. q. N' d' |7 n% O) }( G
C) Play MPoRPG until the battery dies
) x! O6 a! U& I( b4 o3 ]
& d. E7 b$ a: S% @. s% b7 Palong with your hopes.! B& H9 R* B( Y  m5 ~5 L

2 l0 i( j/ Y5 O; |" u! ^D) Use the computer to map the nodes$ y3 ]8 S/ n3 }1 y5 ]. n# O) _6 u; N
- m9 T$ ^. ]2 y& h
of the maze and discover an exit path.$ X2 A) T% X1 t

+ W- U8 e* S$ S% _3 p' BE) Email your resume to Google, tell the$ e- c* f$ e3 I+ F* n9 r
5 P+ @1 f. t6 [
lead gnome you quit and find yourself6 y0 x8 x( ?+ `, Z7 V0 ^
4 Q2 g5 |% i0 p- z  f' O; Y
in whole different world.
3 u, K$ c5 g% b2 j! n/ ~7 w1 F# ~2 M/ m& B5 v2 m% s

. Z( [/ ?& z1 D: {
- ?& i6 _. A* U3 X' G  W, Z5. What's broken with Unix?) e, o& u9 B: z3 B% O
) x" \& v4 y1 }( ]# k6 i) Y
How would you fix it?5 E% X# T( F. G+ ~. K5 q

5 }6 }( W2 S1 L5 ^: w: ^6 Z- j
/ o5 G4 E* B' N' q. ~3 M8 ^! _; u+ x2 v' k. _3 l! J. T3 x
6. On your first day at Google, you discover
* f. Y9 P# Q/ b7 K( C# v& W. t" @9 E2 V" T
that your cubicle mate wrote the textbook
  _$ j7 c' S9 }1 j8 R* [
  y- h! t0 G% k- B2 j& d# P( Dyou used as a primary resource in your first: r4 ^- \1 B& a( T4 W' x
: t5 Y8 q) D. E- h1 w5 N
year of graduate school. Do you:* M$ d, E! z9 E* i, L
& z  m( g! w. q6 T: b! R9 i
+ t$ p8 b% e% q' b' R( s
8 x% V" S* g  o0 n9 Z# _( P: E: Y3 D
A) Fawn obsequiously and ask if you1 a( g2 N1 a7 g3 b
6 N& W9 ]$ r! T" o+ Z' g' B
can have an autograph.
! Q  e& f  e1 J* q  L
9 k1 @% k3 f3 J) l; b2 B$ _( P- R2 fB) Sit perfectly still and use only soft
; }& X4 u+ z0 i3 I* q; t* F; b; Y% t0 ?/ O
keystrokes to avoid disturbing her
0 ~5 y) d: T- k+ G6 ?2 N+ G3 D, G& [) t! a# E4 j
concentration.
2 l+ h3 g3 z; v7 k, X' b/ V/ y. M
/ D' q5 \2 @9 dC) Leave her daily offerings of granola
1 U$ b9 f" s! S  ?, w* z/ B4 M' E6 g: d' l7 \. n
and English toffee from the food bins.( @' ~) ~4 ~) M" x& ^/ C! I

* y2 o" V# @- r% o- I5 F
% K" G# R% L6 t% C& ^4 ~8 ?  B6 m( F/ \" o
D) Quote your favorite formula from the+ ^! O) e. B+ B/ P

9 q2 w) J/ w  @' o% Vtextbook and explain how it's now
! C/ O6 x$ W" F+ x$ N. K
) A+ E& ]" C, h5 y7 S" Cyour mantra.
" @+ b* D. q# M( \4 O: e9 g( q& G) G4 h6 P: Z# j
E) Show her how example 17b could) W( @: b/ i& z( {$ D- o

% b  ~5 ~4 F" \7 f% {, Mhave been solved with 34 fewer lines  [5 f1 _! S2 ~. q8 D
% @2 U1 r' @. {. w9 Q1 q2 `
of code.9 ]; C8 Y* Y6 z. Z4 |% F& d

5 x) L  v! _6 W1 Q9 t! @7. Which of the following expresses Google
1 @9 C1 s! J6 [& w$ J1 b$ S, s" N) v& \; B! K4 y: Y
over-arching philosophy?+ a6 c, [; W7 A! O

; `3 {2 Q6 K8 c# L1 j
8 l# q3 T; r* Y
) Y: C/ M1 d2 @3 b) nA) "I'm feeling lucky"
1 x0 b& j( i+ b. I' v: B6 d  l7 N
* W9 G& D  Y5 t3 i; \; H& CB) "Don't be evil"
0 ], M( w! S6 B9 a, A' q; i* P* s" _8 b6 \2 G8 ~) u; }7 O
C) "Oh, I already fixed that"
( H1 m" R& h5 ]5 x2 y
" `2 c3 v. J7 h% X% h& \5 hD) "You should never be more than
. k6 T& o$ v, P+ `9 o3 o& |9 i( q4 x9 h% Y" N3 K
50 feet from food"
3 N3 E; r4 d' i8 |
) ]3 e& q' J( l/ z8 `$ O/ uE) All of the above
' ?: f7 g% {( \( I9 b, b. w! [4 Y2 x/ }4 X& T$ g3 h
" b$ V/ \1 t! R" _# [
5 V1 n, u) R, A# C6 K# d8 J
8. How many different ways can you color an' X1 v' P$ Y3 m. \: M8 {

/ x# T; \" m* u1 ~9 K; z0 s1 Dicosahedron with one of three colors on$ h9 F# M" t  @

, }3 D# V" l3 z0 i! m: Reach face?! r8 R+ w4 r- S8 [8 S" \4 l

# ?# Q  z- z, H. P! ]! {
; e( z# P. i& A' {/ T4 v/ q3 j# g$ }
What colors would you choose?
# U* q. ]$ g# P5 X& L4 z& `. k, x2 V
4 |* ^2 o0 u* i1 B
/ z1 `4 P6 K) |! z* c9 d/ f) x
9. This space left intentionally blank. Please fill it
; C/ J  Q' j% o( E
" T" Z0 ~. I. T5 cwith something that improves upon emptiness.
* {# d% X1 h) O& j' n2 d2 f, M' d0 F/ d: n( Z4 h- x& z
9 M; v+ o. i- k: E% j
, a4 ]# t, o  f* L
10.On an infinite, two-dimensional, rectangular( {* ~  {' S) j. A

/ w& J4 Q3 J$ }- v1 ~lattice of 1-ohm resistors, what is the
4 U% {& [) e5 e( |# @5 ]
- X+ |  C  {  u0 a2 r7 ?5 s  a% zresistance between two nodes that are a
' f4 R! R2 j: ]' g/ C- D& O
7 q0 _" {: @& O# n$ w7 R( x5 s4 v/ Fknight's move away?
# C1 {9 l5 ~7 j2 a! @4 v. G* M
# z6 Z( V+ C4 |$ Y+ m/ I* Z6 p7 B' M5 v1 y5 v# K3 K0 N
- }! g) p4 ?# G. ~# G
11.It's 2 PM on a sunny Sunday afternoon in the* X% l. E" B' k! v& L* [

; z& C6 F! }+ |5 ?3 Q$ H8 mBay Area. You're minutes from the Pacific
0 Q6 w4 ~* O) q. B, o, H) m' R/ W" i2 ?2 r3 Z
Ocean, redwood forest hiking trails and world4 C0 v5 y% B* ^$ h, H, u
5 G8 Y! \. v  I: W+ [
class cultural attractions. What do you do?2 h" N8 r2 K6 \/ S0 g! v0 y
, D! K9 [4 U# q, f  g9 W
8 s, s4 s+ k- U

) ?; H; q4 e- v( W! ]8 t( @; J12.In your opinion, what is the most beautiful7 U4 I& v- _# S

7 {& V2 ]" w2 W7 z: F5 y$ x& N" tmath equation ever derived?: D6 e: t4 l7 y7 z% d' n

& ^2 T3 x  P7 v* g5 z# g, @$ _3 `5 j* ^$ C) G

. u/ E# W3 ?$ D) K13. Which of the following is NOT an actual
! w! k, |# e7 L; P6 a
4 `4 V. k2 Y; H4 J, U9 Jinterest group formed by Google employees?4 |/ `7 {" `- ], D- u
6 m+ o% |" c! i. r7 d1 E6 K
3 R9 d0 J; ^& K! j0 [5 R

, F- M, q! L/ S1 g2 \A. Women's basketball* d- x. E* L. C0 s8 r& _

! k" z) ?5 f) {! y. Y  K1 O2 M6 kB. Buffy fans
# c! }, V. j' z% o0 _3 v9 C2 L
: N1 K1 s3 M+ K9 e6 l$ ]- t# p! N* x* y$ ^C. Cricketeers9 i5 @; b% t: [- t8 H

) ~9 {1 j" x& u7 d& R9 eD. Nobel winners
0 W: w$ K( x* R( w- c6 n/ h8 f) Z  l* u. n8 A1 _- T
E. Wine club
5 u, i$ \7 Z/ r$ z
! n: G; o. H: w/ i/ ^
2 T8 I0 _2 G+ b. c: T2 w7 ?9 s# ~" N. n2 b9 Y
14.What will be the next great improvement in
  l1 ~* o, ]: v* ?8 j8 {& h/ X  ?$ c
search technology?
( k% @1 P6 y6 v9 K
+ O- l9 e1 `( [, ^) m9 m; |% e: v4 D' a) f, ^, D

5 s  A2 [' h' Q) e& n; D" t15.What is the optimal size of a project team,6 E& U% U& y8 z: m( t

" y; L& K) X; l6 u/ ]; ]above which additional members do not
5 B7 N6 K8 u4 z6 S2 F' A' M% I) F7 b6 i8 e6 Z7 Z& w; Q+ i4 g
contribute productivity equivalent to the
! I, x. P" @' M1 P* {0 P2 E! l- x# `) r
percentage increase in the staff size?
4 m0 {5 G& ^$ F# X2 G, Q; c
  u3 d: Q6 i5 m4 B& KA) 1, r+ [% ?0 J  H3 m# T

6 ^1 L& d; l/ N9 I5 e% d, TB) 3) g; P$ w, i) y% A0 W
  v7 c9 p3 l: f/ v8 {
C) 5
9 }9 j6 [' U& j
; ^" x, C' P1 R+ Q8 }D) 11
' E( p0 X. \  a8 n
& B& j& Q5 o: \" L- {8 UE) 24' o, J# e4 ~5 A5 E
2 p* ]" J4 B  n: P$ n8 v6 h/ c. S

8 ~3 @, }5 ]; v1 u+ U6 ~# x) T, Q0 S( B1 G) f( N) q+ _1 D3 K
16.Given a triangle ABC, how would you use only, Q4 C/ ?0 Y! k  W& b0 T

1 b9 r2 b( N+ f  |a compass and straight edge to find a point P
! D# b( h* k: P! t( V6 T" u& ?! \! D! `4 l$ }; Y
such that triangles ABP, ACP and BCP have! M4 W& w6 M; `% o  d& u3 F) g1 F
& e% E: S! U% J
equal perimeters? (Assume that ABC is" C/ {! H1 |) t8 v2 Y
- z; A% W! X; M6 R8 `
constructed so that a solution does exist.)! B3 C8 ^. p. j: Y9 A
' [: |$ ~* G" Q& ~( y. k

0 m& |' o' A+ @& W
4 l, j5 L* l! W, I- R17.Consider a function which, for a given whole
3 @, x3 E/ J) v% w7 U- B
/ f  Y( W* E) M2 A* j2 Inumber n, returns the number of ones required$ k4 u1 b" B3 d+ \7 p0 W

& x) A+ U% E8 e9 G2 E2 L( Rwhen writing out all numbers between 0 and n.% o" H' \) L) B9 m' p1 \

4 l1 O, A, |6 }; KFor example, f(13)=6. Notice that f(1)=1. What
) y. f) m0 M  G
5 c0 l; H$ m) t2 M% m" sis the next largest n such that f(n)=n?& C3 k% y- P, j( H

" Q2 n- H5 ]3 R' v4 m. v- d- \9 |$ f# S# _( }6 [0 p
3 U3 Z* O( U" i* o8 v! Z% b- q
18.What's the coolest hack you've ever written?
4 Y3 k2 ]+ ?; s2 S& A2 W; b
  q# v, Q. B, _6 M
% ]/ F. p: y8 P0 k* R. t; `, @4 B7 D& H/ p1 s3 j  a
19.'Tis known in refined company, that choosing
7 D5 I+ A6 j( ?1 I. k! F3 m4 |) H, @9 C
K things out of N can be done in ways as, p7 P; k+ G* e# ?3 U/ {  [
7 n) p1 S8 G1 K* @
many as choosing N minus K from N: I pick K,
" n# H1 h* z3 T( T* T$ S! Z4 f
/ T1 S3 D7 l4 a$ l( {% ]) cyou the remaining.
1 U' `- x4 U" ]4 T+ D: Z( L! i+ n$ S  z8 M

4 K0 e1 Y+ |, m0 `2 z: S7 m% ]$ }* g
Find though a cooler bijection, where you show
& q% o1 [& H3 `& h; p: L- S/ f& g# H* T* P. \' Q/ O. ?
a knack uncanny, of making your choices contain9 H8 k) n0 O  {9 s0 t( v+ L8 z

* {5 E3 d& F, P' Q. iall K of mine. Oh, for pedantry: let K be no more" v7 H1 Q3 ^; \* g% t5 s! f" Z% _
: n. A/ J) e; ?) Q
than half N.
' t& m% e0 C! ~6 H" q* t( U/ F" \, ^6 N' J% S" B/ i4 G

6 [: M3 O( y- ]5 K6 L% K( B& Z1 U. G9 q% o+ n% K7 k/ h
20.What number comes next in the sequence:3 ]5 |* v4 h5 t+ ]( ]
+ i5 V5 f9 U; [3 f: B
10, 9, 60, 90, 70, 66,?
8 w) |. Y) ^) ]5 v, f8 Q) l8 u5 m! \
+ L+ D  \+ f! V9 K& a3 M: U
5 c8 T, m4 ~& o1 P
A)96, z; ~4 h1 u, Y8 ]0 E: i

8 i+ \4 Q$ j5 n2 Y" f+ vB) 1000000000000000000000000000000000
$ ]  b2 q( `& X3 q) f! C/ c; C: r3 v; }+ M8 @; C3 s! h. v* ~9 l7 Q
00000000000000000000000000000000009 i1 s' `2 y4 C

, M' n0 J7 Z$ T- y/ z( V, {0 P0000000000000000000000000000000000 E1 c, G' h( e& e! h9 e4 c  D
7 x( r6 v2 {: x, {- Q
C) Either of the above
0 o$ Z( L& L' _  ~/ n/ W3 m  t. T* T1 a. Y
D) None of the above  R& X& K; s3 P$ A5 b) [% Y
3 k; G9 q0 p) _4 E, k

/ j5 n( ?- P: A! N, O4 X, l- K0 m* q/ o
21.In 29 words or fewer, describe what you
5 {" w, s3 D) O. o+ r6 \! ~! u  `6 w8 U. V* r) x+ i. O
would strive to accomplish if you worked
  d  f( x; [5 t1 m3 [& X+ {. S$ @2 j8 S$ |% C+ P+ X3 b$ v
at Google Labs.
zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
neusut        

0

主题

3

听众

75

积分

升级  73.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

Florence        

2

主题

3

听众

58

积分

升级  55.79%

该用户从未签到

新人进步奖

回复

使用道具 举报

fly_eager        

0

主题

2

听众

23

积分

升级  18.95%

该用户从未签到

新人进步奖

回复

使用道具 举报

1

主题

2

听众

37

积分

升级  33.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

1

主题

2

听众

37

积分

升级  33.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

wyf287        

1

主题

2

听众

26

积分

升级  22.11%

该用户从未签到

新人进步奖

回复

使用道具 举报

0

主题

2

听众

18

积分

升级  13.68%

该用户从未签到

新人进步奖

回复

使用道具 举报

yirongshu        

0

主题

2

听众

182

积分

升级  41%

该用户从未签到

回复

使用道具 举报

shease        

0

主题

2

听众

19

积分

升级  14.74%

该用户从未签到

新人进步奖

回复

使用道具 举报

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

qq
收缩
  • 电话咨询

  • 04714969085
fastpost

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

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

蒙公网安备 15010502000194号

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

GMT+8, 2025-12-29 10:39 , Processed in 4.475092 second(s), 101 queries .

回顶部