QQ登录

只需要一步,快速开始

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

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

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

1

主题

0

听众

49

积分

升级  46.32%

该用户从未签到

新人进步奖

跳转到指定楼层
1#
发表于 2005-3-5 05:18 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
1. Solve this cryptic equation, realizing of7 E3 o' ?& J% b9 ?  Q

8 X" ?3 Y  Q5 L4 Y" q3 Lcourse that values for M and E could be* _2 v7 X9 c; K' x. U% z' S

" ]" g2 g& ^& y2 q  H1 v* vinterchanged. No leading zeros are allowed.- W7 k1 f) o7 I* O1 g6 \# A8 s" B

& Z" O: \# n# g
1 b- X& ^8 h) h7 D1 E& ?% o& T' |- I/ W
WWWDOT - GOOGLE = DOTCOM6 n% e! a3 |; _6 B' Z
; o2 x- S5 f) }, E$ L
, ^0 u: k7 r9 I9 @5 c

) Z6 A8 Z) E/ C  N: E9 Q2. Write a haiku describing possible methods) e* f* U& H9 E8 M7 n

. p' f$ L6 u+ E9 ifor predicting search traffic seasonality.
2 p: a, F2 N) d6 `, Z! C: B7 M9 K4 i6 o/ f& f+ N/ S. y

  j+ o, a; w3 u! c9 ~, P; N! |8 _4 ~- ?8 V5 _, [' u
3.
0 c! _! n9 X! q  v. f( z
: M5 k7 B' o, \8 i' B0 P: H5 `12 Q, ^  ]3 |3 t0 Q* T) C0 I

9 W& d1 e1 i4 }# s& C1 1
. ?/ h. G7 W" R/ }
: }; ?2 U- [, H9 F" E4 x* A2 1
7 m. u* K+ p# x0 S% v/ x* g
9 f- y5 K: }  H1 2 1 10 I/ K3 g7 A. _7 b2 K2 h6 T" f! F

9 Q& n5 G3 g6 d5 V3 r1 1 1 2 2 1& `* l) _! _( {7 ^. W
4 X0 o( u3 ~0 {- D; {5 i1 S
6 Z9 r2 p& x  C3 |7 P$ X
. I. q! L$ n/ G5 O
What is the next line?
3 C" o- @! A  k, t, k+ w6 p& Z8 h: R$ L1 E/ J# k
& @% [/ Y& g) Z& s
2 I4 s$ L$ B1 |1 k7 |9 X4 _
4. You are in a maze of twisty little passages,
0 `- S! \' e4 @. @- V: {1 V$ j, j# [, \3 l; C
all alike. There is a dusty laptop here with a
+ d: H6 j6 q% z% D  y- t& D% J
% |  {- T0 c3 y6 jweak wireless connection. There are dull,! j/ {" {& k) m

* l( ]  @7 M5 b3 ulifeless gnomes strolling about. What dost
$ }0 z2 V$ T8 X. n% @4 I$ F( w
8 D1 k: u) S& z1 O- s# R( ~# Zthou do?  ]* e, n8 V/ Y  C/ z0 @2 }' c

, t7 l/ B3 h8 {0 q0 t
9 f: W; `% v  K+ [! k/ ^; g1 J5 I) l& N- g( a
A) Wander aimlessly, bumping into
! F' W( I2 P8 u* m1 `4 r4 ]' D' ^* C' W$ N5 v) @# y% i- h
obstacles until you are eaten by a grue.
+ y" D7 j" ]% e" y# Z. V# o
% B/ v8 E9 [+ {; ~3 f4 ^B) Use the laptop as a digging device to( Q4 e5 L, M7 [3 C

* y1 K4 o: M( t8 m, R% Q( \" I) Wtunnel to the next level.
4 N/ T; m" G1 ~3 B9 U! {# v
- l% f9 S6 x- F' ?3 D% [C) Play MPoRPG until the battery dies. G9 u$ T& L; O! f# C

) Z; x! G2 t7 H. e' kalong with your hopes.% b: n7 a' q9 W" m  O. Q( V- h+ R  }
0 h3 \- u+ V, l' r/ X4 q
D) Use the computer to map the nodes; s* R$ }* t' z" H
# j/ P; H; g5 l
of the maze and discover an exit path.5 Y/ u( u5 c# L. \: U/ g4 A6 t

; T5 V  C7 w* D9 b4 g, JE) Email your resume to Google, tell the! m, O& A/ `2 q$ v2 W' p0 k

$ C1 p0 S4 \; f! L( b. Mlead gnome you quit and find yourself
( }. m7 l4 U: @' B( J8 b: l! ]' a, ~2 [% q/ O/ X% \0 `. H
in whole different world.
5 F  V/ g& M- Z! r$ h& P$ ^! _9 J5 z. t8 w/ c) y" r3 ?
; o7 A$ H8 l' a

$ z  z4 l) a, `( F0 M8 ^6 m9 l5. What's broken with Unix?- A$ n% I. S# L8 k' S
% v, U$ l' |$ e, v( v5 c
How would you fix it?
0 C9 G2 v6 H# U8 {8 c7 u  P  l% c% t" t

8 q5 I" U6 v0 X& A! ?% N# |4 j6 M3 H  }  ?& B( W& p6 t
6. On your first day at Google, you discover
+ x. g2 W, |# C3 z4 H9 [/ x
1 {  X- x( B5 |4 G" Uthat your cubicle mate wrote the textbook* j) `9 O* b3 W# w  h# A0 e5 f

' E$ U! c5 z; z' c4 i" ~you used as a primary resource in your first
0 S* F  O, J/ e! M3 I
* [8 I& F6 P3 l+ u1 f' vyear of graduate school. Do you:
: `2 N2 B7 @! h
' g) [+ @  u* U+ R
9 C3 J9 c- l! `( x; J, _: G3 L6 g" c% S5 N3 P0 K: r
A) Fawn obsequiously and ask if you
4 L: H( I2 k. U, h  N) o4 W* ?, q9 K% `4 A* q5 ~# O" L$ T9 h
can have an autograph.8 ~( w& I7 j. X, `) x* ~3 }& R

( y/ J- Z+ B+ @B) Sit perfectly still and use only soft: z7 N- X/ c) c3 @4 G* y# o
" s) f$ S" H. B0 z
keystrokes to avoid disturbing her( y- \# [/ W; b6 q- ]6 ^

5 W0 q, f, x& U7 v" m+ I& b3 Mconcentration.' n) a2 o, ~/ G. Z: I

! M. O$ b9 K6 ^$ d; dC) Leave her daily offerings of granola
  U% I7 a  G( `% O
' I& K  T% }+ |3 H8 {and English toffee from the food bins.
6 C6 O3 K. I/ D4 o+ @: z& O9 U9 L2 i1 {
$ ~7 n( P7 q5 V& n2 l
! U2 V0 F* O; l/ |8 i
D) Quote your favorite formula from the8 a0 [9 a$ b7 F! R# a& j9 E

" |. M9 \$ x) t6 D9 h* g7 ^  }1 Utextbook and explain how it's now
) P  ]+ ^3 J- W$ ^3 V$ \0 q; p, V- b6 p, g+ u
your mantra.$ x* ^. N: |1 M2 b: N9 V9 A
& v0 I9 `6 s1 B
E) Show her how example 17b could8 Y& F- l" O" U2 S3 i! `# K

6 G, M) L: W( ohave been solved with 34 fewer lines' X$ _: X0 z7 R! N0 N$ m
8 g1 c0 j8 C4 L. \# U/ ^0 m
of code.
$ S4 Z" p2 S; B  x' W% w- \% I' v* T1 Y* q
7. Which of the following expresses Google7 k3 n. x. h! ?' }3 ]7 z
0 r( u, O( w/ `6 C- u( U9 v% I
over-arching philosophy?( y2 B  |: \, G) y

* \! I) {4 E- ]& a4 Z
; S. r" |, t+ Z
' V' D+ E: R0 r; `- @  PA) "I'm feeling lucky"
7 e3 l2 B3 W% F! [$ s7 c+ c6 Z1 u% D7 i
B) "Don't be evil"1 W( I7 g. Y* V5 [# Y

- \. g4 Q, q7 w" {C) "Oh, I already fixed that"
, K, S( h, Z; W1 L$ u& ]* [9 h  a
9 F( u! z4 J, O; pD) "You should never be more than
" I" J0 f* Y, g5 {# R3 L! s+ |
7 ?: E" o- ?) q7 @8 Y* f50 feet from food"
. R* B; J5 h! i4 O7 c# H" }" h  i2 y$ d& q& U
E) All of the above% L- c/ F. t( I* Y
# L' Q0 d: i5 s9 w& {2 f8 s  p
5 w. B8 c" G& I1 [2 E
% G; B7 u. e5 w$ z
8. How many different ways can you color an
& \4 t4 Y: b3 q: t5 X* I' h6 }$ |6 m" V( y9 E4 T/ e
icosahedron with one of three colors on
" A- ~) E: ~) T: e/ x6 C
  j5 b* e" L  f; Weach face?
" F9 N& `1 Y5 U2 u  f" y* K3 b  V  I. t3 h" N; B

; c7 M+ |5 {+ y' K! O6 X2 q. p8 i  S( Q) B" l0 o
What colors would you choose?* o4 k5 C7 w- F( X: k
7 Z' S! {( a6 e8 _. b3 N

$ n2 L% x6 @5 n/ Y/ C
$ w4 V6 D& t* Y' a9. This space left intentionally blank. Please fill it4 N3 y3 f! u+ X  `+ K5 T; w
3 ^5 o+ q. ~- E4 z7 k( \
with something that improves upon emptiness.
, _8 F* @& F' ]: d  r- U
9 a& J! a4 N  ?+ i. @. `: _6 X3 c4 d6 t' G4 Z4 D
! R% ~# P0 H9 D3 y0 p
10.On an infinite, two-dimensional, rectangular$ {$ Y7 }0 J* A& s2 c  l; ]% l) K. q5 f

2 [2 f2 N" J" v2 m) Qlattice of 1-ohm resistors, what is the% \1 L% \; v4 ?$ ^
( c( P# B8 f& I2 r0 g
resistance between two nodes that are a  J3 Z9 \$ z2 A; q

9 B2 S: L0 F' U2 |* Xknight's move away?$ O5 R1 C7 {: f$ R, U# H6 X
* T2 O9 k; l2 T" o4 T8 ^% O7 W3 k
' p) H, b7 {+ \9 E; y' u
  a0 D, h# [0 T
11.It's 2 PM on a sunny Sunday afternoon in the( K* X; Y& z* C  }
5 m2 n! u$ F3 M+ C6 I
Bay Area. You're minutes from the Pacific
# e# T" D$ g" P8 x
5 e1 z7 Z( O/ `! N, NOcean, redwood forest hiking trails and world
5 P8 Q1 d6 ?5 I8 L7 K
, }( G( Q  H7 U# wclass cultural attractions. What do you do?5 m' f6 H  U* Q5 g) Y# v3 t

6 {: g% c+ v' v) G, V( s7 K& i/ A$ R2 F5 N' j
' w( B9 j. x/ P  Y
12.In your opinion, what is the most beautiful2 {; F- e' B0 |* l8 x

- y& f% u( A# gmath equation ever derived?& q- W/ G, d; q; e, O: d0 K. [# p

8 L2 l5 k/ o5 P+ n
$ s; T; ?% [  c+ n
6 Q$ x* a0 A. [13. Which of the following is NOT an actual
6 @- ]4 R8 s! b2 J  g( ?
3 q) d: l3 M# @  X8 ?interest group formed by Google employees?
0 }# ?. Q6 ^& D$ `& s& ^' M. B0 Y$ ^' ?' D4 H

8 L+ h1 H0 M/ h7 \( g7 f! t. a3 ?: x6 Z0 @
A. Women's basketball
  V: ^' R0 s8 U6 B$ c! d' O9 z: z+ r6 `, g" z; ~% X) E" f7 s. `! @1 Z
B. Buffy fans
0 w* O7 ?$ d* g* b& o
  |% c% }5 T; d6 ~, E% UC. Cricketeers
5 l( N- P1 m/ Z  m
6 p% J7 M& }, L% h6 fD. Nobel winners
( c# t& F: i- Y# x
0 t* L" s" g) e1 e; h+ kE. Wine club! J, P: v- W2 z6 T( P4 y
9 F0 q# ^1 c8 i) Z$ y
0 d- T3 a% h  @" }1 _
! j( J0 H9 G* h; ?8 w/ t; d
14.What will be the next great improvement in( A( y: a+ {$ V/ v$ T3 ]

& N7 T. M$ g+ H4 `! v# @3 qsearch technology?
0 w* Q9 b: v' V2 O8 h, R/ d8 I' W* ]

: p& B+ p$ m5 @* m7 J
$ g7 g9 E# u/ b15.What is the optimal size of a project team,
, ^, o9 A3 u* e' J  m7 Z$ k/ Q. p5 e2 S
above which additional members do not
6 v; g' g) T4 l* X* Z# \# E- U8 r3 g4 _" J, q6 k4 m
contribute productivity equivalent to the
0 L5 e: v0 d+ q& I" j( L; ]
3 p9 S% y" H0 ?+ ?percentage increase in the staff size?1 O5 C) K$ U; Q" n  f
" f0 ~% ?0 k" ?2 G; u
A) 1
# c- ?* s: s3 h$ l! q% S1 |' d  n* t4 q' _! n
B) 3% k: g2 j3 _5 Z1 l, s( W
5 E, B5 I; {4 a; K9 P& p
C) 53 k7 S. v# m2 Y; h- u# j6 [

4 i1 a: w1 ^$ ?; J2 s0 Q5 mD) 11
# g1 n0 h- l7 k8 r$ y) W1 J2 K6 O2 G/ _( o) ^8 t3 d- J( {2 y
E) 24
2 {! _1 S: H% u& }+ I! ]( N1 L' h8 ?5 R& T0 E
- B/ U1 L8 O+ c- C
3 m2 H% f% s+ O0 w$ T# S9 M3 I
16.Given a triangle ABC, how would you use only
- [# }4 `( \8 ~# c+ x1 ~3 ^9 H; L# A% U5 p/ w0 c9 n, Q; _5 p2 U  P+ U9 c
a compass and straight edge to find a point P
, J$ h& Q# c9 r5 h  Z" S/ q' T
5 r* U0 f2 N( F! D0 ksuch that triangles ABP, ACP and BCP have, W# ]& g2 D0 [+ Z1 o, ~; x/ T; ?& W* V' r
! t7 {" \/ _5 Z9 B
equal perimeters? (Assume that ABC is
  Z/ b$ v( `/ `4 P7 p
! h& T  {5 E' l1 Hconstructed so that a solution does exist.)6 Z# ]- U( Q# z$ y  x" ~

2 ~& D+ O. c+ h% K6 X- D2 [
# q" \/ m+ ?. d8 h' r! ?0 x' c- J/ C, \7 Z
17.Consider a function which, for a given whole* U0 W, p) R2 n' v+ @) H
2 j9 b4 y6 F: u4 _, ~
number n, returns the number of ones required
7 u: L3 S8 m4 O7 J- a. k% E) _3 p+ b: {* h/ L# N3 Z1 }6 t1 _
when writing out all numbers between 0 and n.
8 j. T! m# a6 f: v1 q, C$ }) N: Q9 O4 g" T; |3 W% V$ j1 U
For example, f(13)=6. Notice that f(1)=1. What
- Z2 a8 A, @% V. n, h+ F! ]  T" O3 n# u8 |% |2 Q' B0 N5 j
is the next largest n such that f(n)=n?' T% ~3 R( l3 M5 G/ J
' B' J' ]  N8 O! X# a* b( R* h
9 l1 k+ C, d8 N) [9 y0 S; I& U
. T$ C2 A2 \" y0 U# s
18.What's the coolest hack you've ever written?: C; v9 S! P9 s+ C; J
% x, R3 h2 a" T( O8 r
+ U3 ]3 _5 O5 V' U  B

9 `0 M0 h( n# j9 e19.'Tis known in refined company, that choosing7 A) q  X5 w- i) A, b
! |9 k% k9 @* N
K things out of N can be done in ways as" _% N5 t& e0 D% R% t
. T& n% ?9 @& \: n% E& l
many as choosing N minus K from N: I pick K,
# b6 _$ h; k4 n7 v. x; }: X, k$ ?3 ]- x9 r
you the remaining.. o2 O, Z4 _- W) [/ e* R

/ E+ `1 p$ Z: y; X# I9 _
0 a3 |% ]* Q) c' O) `
4 u6 y3 Z5 s7 J; H0 @$ Y. oFind though a cooler bijection, where you show% I" p3 X. _6 f, r! I1 u
+ w3 v- ^4 P4 ?3 |
a knack uncanny, of making your choices contain
2 i" m$ h$ w* Y& x; o3 S+ U. r6 n' W$ A5 Q6 \
all K of mine. Oh, for pedantry: let K be no more& `2 X" O4 ?  h; o3 ~, v
! W9 m0 l( H, d# b) Z$ Q
than half N.
/ J  Q! B% x7 _7 H/ Q7 X5 x3 x3 G
/ W! b+ r9 b9 I& s& T% O0 H9 O2 M% y8 t# S* T' M5 [8 }

+ J1 k1 f" P9 t! s+ L20.What number comes next in the sequence:
- j7 g* F# i/ I, P: n; F% i2 M$ j9 g; E- V  A& J5 l
10, 9, 60, 90, 70, 66,?
. m$ A2 |% c4 U; m6 ^% H; s1 I  B" G0 \1 i' g7 D

& o  ]( u: ~- o: `5 o4 N4 x
: \2 t+ V4 {: u6 D0 ?- NA)96& i2 p1 r0 D8 i
6 g  k2 D$ X3 h5 T% T
B) 1000000000000000000000000000000000# l' E+ N, ~0 b) K/ O& Z! V8 \
% h# K# Y# u( ]  y
0000000000000000000000000000000000, H/ f# `; j  n; l- y( o: S

; Z% F& ]8 j' y1 \' f( k5 B$ M' z000000000000000000000000000000000+ e2 C7 \$ F4 ?" B5 a

/ |7 b8 K4 k7 J6 D# K; B& n& gC) Either of the above: O4 ^4 v) W" ?* P. h7 Z
' {, d  F3 l2 I0 v$ g2 t
D) None of the above
  _1 t4 D7 F# Q! |1 Q
7 Q* h/ M6 W% H& X8 Q
- V* U: D  ]( B/ w& \  K
0 X% E; c2 x6 X# b; h( s21.In 29 words or fewer, describe what you
3 w2 M7 \  x% e; o+ _5 H
) A4 g* J5 [- owould strive to accomplish if you worked
; ~6 `" F/ ?4 [: ]% F, h
% k- F7 r% ?" p5 uat 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, 2026-6-18 12:45 , Processed in 0.543437 second(s), 101 queries .

回顶部