avatar
s*n
2
Amazon:
Phone interview:
1. print out node of a graph (graph travesal).
2. OOD: design the online shopping cart; open ended question
3. There is a Web service which access DB server has performance issue; how
to identify the issue.
Onsite:
*. compute cubic root of float X;
*. Two sum.
*. check whether two input trees are mirror to each other.
*. check whether a binary tree is a BST.
*. design OOD for zoo, including cage and animals.
*. Google gmail server location question; why it is still fast when moving
from 1 place to another.
*. system design for most bought items when browsing items on Amazon website.
*. print out matrix clockwise.
LinkedIn (Phone interview):
1.
/** Compute the value of an expression in Reverse Polish order. Supported
operators are "+", "-", "*" and "/".
* Reverse Polish is a postfix mathematical notation in which each operator
immediately follows its operands.
* Each operand may be a number or another expression.
* For example, 3 + 4 in Reverse Polish is 3 4 + and 2 * (4 + 1) would be
written as 4 1 + 2 * or 2 4 1 + *
*
* @param ops a sequence of numbers and operators, in Reverse Polish order
* @return the result of the computation
* @throws IllegalArgumentException ops don't represent a well-formed RPN
expression
* @throws ArithmeticException the computation generates an arithmetic error
, such as dividing by zero
*
*

Some sample ops and their results:
* ["4", "1", "+", "2.5", "*"] -> ((4 + 1) * 2.5) -> 12.5
* ["5", "80", "40", "/", "+"] -> (5 + (80 / 40)) -> 7
*/
2. Two Sum
Twitter:
Phone Screen 1.
// Given a sequence
// 3 + 4 * 5 * 6 + 3 + 7 + ...
// of single digits, + and *
// Evaluate it.
Phone Screen 2.
// LRU Cache (least-recently used cache)
// An item is a key, value pair
// Constructor (max number of items)
// get(key) -> value
// put(key, value)
// When putting, if cache is full then evict oldest item
// Oldest item is the one least recently touched
// Get and put count as a touch on the key

avatar
w*0
3
6月的,时间过的飞快。。。
avatar
s*x
4
有照片流出?
avatar
l*t
5
zan!

how

【在 s***n 的大作中提到】
: Amazon:
: Phone interview:
: 1. print out node of a graph (graph travesal).
: 2. OOD: design the online shopping cart; open ended question
: 3. There is a Web service which access DB server has performance issue; how
: to identify the issue.
: Onsite:
: *. compute cubic root of float X;
: *. Two sum.
: *. check whether two input trees are mirror to each other.

avatar
w*0
6
如和贴视频?
avatar
j*g
7
lz好人!! bless!
avatar
u*a
8
不错。肺活量有待增加。
avatar
b*p
9
. system design for most bought items when browsing items on Amazon website.
这个应该怎么做呢?没什么头绪啊。

how

【在 s***n 的大作中提到】
: Amazon:
: Phone interview:
: 1. print out node of a graph (graph travesal).
: 2. OOD: design the online shopping cart; open ended question
: 3. There is a Web service which access DB server has performance issue; how
: to identify the issue.
: Onsite:
: *. compute cubic root of float X;
: *. Two sum.
: *. check whether two input trees are mirror to each other.

avatar
M*s
10
好爸爸
avatar
b*u
11
请问能解释下这两个题是什么意思吗?
*. Google gmail server location question; why it is still fast when moving
from 1 place to another.
Two Sum

how

【在 s***n 的大作中提到】
: Amazon:
: Phone interview:
: 1. print out node of a graph (graph travesal).
: 2. OOD: design the online shopping cart; open ended question
: 3. There is a Web service which access DB server has performance issue; how
: to identify the issue.
: Onsite:
: *. compute cubic root of float X;
: *. Two sum.
: *. check whether two input trees are mirror to each other.

avatar
u*e
12
真可爱
avatar
j*7
13
Two Sum 是LeetCode的题。
http://leetcode.com/onlinejudge#question_1

【在 b****u 的大作中提到】
: 请问能解释下这两个题是什么意思吗?
: *. Google gmail server location question; why it is still fast when moving
: from 1 place to another.
: Two Sum
:
: how

avatar
w*0
14
:)

【在 u*****a 的大作中提到】
: 不错。肺活量有待增加。
avatar
f*4
15
倒数二三题怎么解阿
[发表自未名空间手机版 - m.mitbbs.com]
avatar
w*0
16
:)

【在 M********s 的大作中提到】
: 好爸爸
avatar
w*t
17
赞 & Bless !
avatar
w*0
18
:)

【在 u*********e 的大作中提到】
: 真可爱
avatar
w*y
19
现在的题都这么难了!!!!
avatar
w*t
20
跟我儿子一样啊,都不知道是用嘴吹,还是用嘴吸。。。。。
还是爸爸比妈妈淡定,偶总是忍不住去抓他手拿远一点
配上音乐感觉真好,有看大片的感觉
请问,用什么软件制作的?

【在 w********0 的大作中提到】
: 6月的,时间过的飞快。。。
avatar
c*a
21
server那题大家都怎么想的
要是所有人邮件都全世界replica好像也不大现实。。。
avatar
w*0
22
赞大片,呵呵。
用windows自带的movie maker 做的。

【在 w********t 的大作中提到】
: 跟我儿子一样啊,都不知道是用嘴吹,还是用嘴吸。。。。。
: 还是爸爸比妈妈淡定,偶总是忍不住去抓他手拿远一点
: 配上音乐感觉真好,有看大片的感觉
: 请问,用什么软件制作的?

avatar
n*w
23
好像是GFS实现的吧。
因为GFS会有多个replica,每次都去最近的服务器取。

【在 c*****a 的大作中提到】
: server那题大家都怎么想的
: 要是所有人邮件都全世界replica好像也不大现实。。。

avatar
x*0
24
mark
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。