Redian新闻
>
100刀左右能买什么手机?
avatar
100刀左右能买什么手机?# PDA - 掌中宝
p*n
1
最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
1. Generate Fibonacci number without iteration and recursion
2. Given two functions
vector has_ID(thread_id) // give a thread_id, return all locks it
currently has
vector want_ID(thread_id) // give a thread_id, return all locks it
is waiting
and a set of thread_ids, how do you determine if there is a deadlock in the
system
3. Complexity of solving a system of linear equations. How many floating
point operations per clock cycle is a modern CPU (say intel core-i series)
capable of? Use this to give an order of magnitude estimate of the running
time of solving a system of linear equations with given size (say n = 1000).
4. Why is entropy defined as E_p[log(p)]. The interviewer drew sketches of
several distributions and asked which one has the largest entropy (don't
need to compute explicitly).
5. Given large samples (x_i, y_i) of a pair r.v. (X, Y), can you come up
with some quick and dirty way to determine if X and Y are independent
without resorting to estimate joint/marginal pdf.
6. Implement Newton's method
7. Given pairs of related IDs, e.g. (ID_1, ID_2), (ID_2, ID_6), (ID_4, ID_3)
, implement a function which returns all related IDs for any input ID. Note
that the relationship is transitive.
E.g.
input: ID_6
output: ID_1, ID_2
input ID_4
output: ID_3
8. How to estimate probability density function given random samples. If you
answer histogram, then how to determine the number of bins. And the pdf
should be smooth, what should you do after computing the histogram?
9. Find median for an infinite stream of numbers. You can do it
approximately, but state your assumption.
10. How to prove that geometric mean is no greater than arithmetic mean?
11. Design a way to generate a fair coin when you can toss a biased coin,
with prob(H) = p, for n (n is large, say n > 1000) times. How many fair coin
toss can you make out of it?
avatar
d*g
2
除了Nokia Lumia以外,有什么其他的性价比不错的gophone或者解锁机?
avatar
s*n
3
沙发, Big bless, 彩虹总在风雨后
我刚开始做题, 前辈。。。
avatar
e*r
5
bless
avatar
u*o
7
BLESS!!
1. Generate Fibonacci number without iteration and recursion
这个用matrix multiplication吗?O(logn)
avatar
z*e
8
热一个
bless
avatar
p*n
9

这个还是需要recursion,考点不是时间复杂度,而是template metaprogramming

【在 u*****o 的大作中提到】
: BLESS!!
: 1. Generate Fibonacci number without iteration and recursion
: 这个用matrix multiplication吗?O(logn)

avatar
u*o
10
这些题都会做的话,LZ已经很牛了!再坚持一下就好了!
avatar
x*s
11
本质还是递归吧。。。

【在 p****n 的大作中提到】
:
: 这个还是需要recursion,考点不是时间复杂度,而是template metaprogramming

avatar
k*a
12
bless

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
c*p
13
bless
第一个不recursive不iteration要怎么算?
avatar
m*i
14


the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
j*i
15
bless!
avatar
f*l
16
祝福!

后一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的
题发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
id, return all locks it currently has vector want_ID(thread_id) //
give a thread_id, return all locks it is waiting
the : ...................

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
c*a
17
bless,再接再厉必有所成!

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
z*g
18
第一题能用 循环缓冲区 吗?
avatar
j*y
19
bless

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
c*m
20
quant果然要求高啊。。
avatar
f*n
21
bless
avatar
f*t
22
bless

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
j*s
23
bless!!

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
g*e
24
big bless!
avatar
g*o
25
bless!
Fibonacci number这题怎么做?
就算用通项公式,矩阵乘法之类的做法也要iteration啊
avatar
h*5
26
祝福
avatar
r*t
27
closed-form expression?
那变成一个纯粹数学问题了。。。
也祝福一下!!

【在 g****o 的大作中提到】
: bless!
: Fibonacci number这题怎么做?
: 就算用通项公式,矩阵乘法之类的做法也要iteration啊

avatar
M*5
28
bless!
avatar
s*1
29
运气会好的
avatar
n*s
30
bless
avatar
k*s
31
祝福!

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
j*6
32
加油哈
avatar
n*r
33
我衷心的 bless,bless,
avatar
t*3
34
Bless
avatar
D*e
35
bless
avatar
B*a
36
bless

the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
l*o
37
bless
avatar
u*n
38
bless!
avatar
s*m
39
Bless

最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
发出来,希望对大家有帮助........

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
B*g
40
bless

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
x*g
41
bless

最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
发出来,希望对大家有帮助........

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
y*a
42
Bless

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
y*e
43
祝福!
avatar
h*i
44
cong!

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
w*c
45
big bless
avatar
r*g
46
re

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
r*p
47
bless
avatar
r*e
48
bless
avatar
f*b
49
re 好!
avatar
x*9
50
bless
avatar
s*s
51
祝福!
加油!

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
c*1
52
bless
avatar
c*e
53
big bless!

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
w*2
54
Bless!
avatar
X*3
55
Bless you!
avatar
s*g
56
THANKS, bless

it
the

【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
s*r
57
Bless!!!
avatar
T*r
58
bless
avatar
h*z
59
加油,一开始肯定是有挫折的,不要放弃。
avatar
p*n
60
谢谢大家的祝福
avatar
v*n
61
nmark n【在 ponpon (ponpon)的大作中提到:】n:最近面了一些矿工/码工的职位,
结果都是惨败而归。感觉好多时候都已经走到了最后n:一步,结果还是失败了,实力
和运气总有一样差那么一点点。今天把一些不太常见的题发出来,希望对大家有帮助。
同时也为今天的面试求祝福,发40个包子。n:n:n:1. Generate Fibonacci number
without iteration and recursionn:n:n……nn--n[发自未名空间Android客户端]
avatar
c*e
62
bless
avatar
m*m
63
re

it
the


【在 p****n 的大作中提到】
: 最近面了一些矿工/码工的职位,结果都是惨败而归。感觉好多时候都已经走到了最后
: 一步,结果还是失败了,实力和运气总有一样差那么一点点。今天把一些不太常见的题
: 发出来,希望对大家有帮助。同时也为今天的面试求祝福,发40个包子。
: 1. Generate Fibonacci number without iteration and recursion
: 2. Given two functions
: vector has_ID(thread_id) // give a thread_id, return all locks it
: currently has
: vector want_ID(thread_id) // give a thread_id, return all locks it
: is waiting
: and a set of thread_ids, how do you determine if there is a deadlock in the

avatar
p*m
64
難道不是嗎?

closed-form expression?那变成一个纯粹数学问题了。。。也祝福一下!!

【在 r****t 的大作中提到】
: closed-form expression?
: 那变成一个纯粹数学问题了。。。
: 也祝福一下!!

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