Redian新闻
>
家中小猫照求bless,比原来胖了不少的cc和豆豆
avatar
家中小猫照求bless,比原来胖了不少的cc和豆豆# pets - 心有所宠
q*x
1
4. Design a timing mechanism: when a packet is received, cancel the
timing;
otherwise, start timing until time out. Suppose each timing object has
different expiration period?
没看懂。
5. Given an integer, print out its square root
返回整数根?是最接近,还是小于且最接近?
6. An integer array of size m + 1 with m unique element, find the
duplicate
one
排序和散列两个方法,没更好的吧?
7. Given a function to read/write data from/to hard disk. Req(r/w, addr,
size, buffer), e.g.Read_write(read, 0, 5, …), Read_write(read, 5, 3, …).
This function will be called thousand times. Consolidate the I/O
requests
and printout to one.
“read command, start from address 0, access 8 sectors.”
没看懂。
11. Two integers n & m represented as two arrays, return n*m in terms of
one
array
没看懂。
17. Describe a data structure to store a tree node, if a tree node has a
pointer to the sibling, write a function to update the sibling (level-
order
traverse)
啥是sibling?同一个节点的左右子节点,还是同层的都算?如果是后者,指针指向哪边的?
24. runlength encoded: [number of next elem in the array, the value of
the
elem]
2, 1, 3, 6, 1, 9 => 1, 1, 6, 6, 6, 9
Create a class and implement the following two methods:
getNext()
hasNext()
没看懂。
26. Suppose we can compare two arrays like:
{4,2,3} > {3,5,6}
{4,2,3} < {4,3,0}
In each move, you can only swap a number with its neighbor. Given an
array
and a number n, design an algorithm to make this array minimum using n
moves.
没看懂。
avatar
l*a
2
正在等offer,听说这个版的bless很好使,求bless。
顺发小猫照,不断长大中。。。
声明:第一张出现的小红帽是豆豆(小男孩)
avatar
l*a
3
5.
const float EPSILON=0.00000001; //define by yourself
then find float a,
abs(a*a-n)
【在 q****x 的大作中提到】
: 4. Design a timing mechanism: when a packet is received, cancel the
: timing;
: otherwise, start timing until time out. Suppose each timing object has
: different expiration period?
: 没看懂。
: 5. Given an integer, print out its square root
: 返回整数根?是最接近,还是小于且最接近?
: 6. An integer array of size m + 1 with m unique element, find the
: duplicate
: one

avatar
w*o
4
BLESS !!
avatar
p*2
5
LOL
avatar
I*e
6
最后一张的眼神太性感了...

【在 l*********a 的大作中提到】
: 正在等offer,听说这个版的bless很好使,求bless。
: 顺发小猫照,不断长大中。。。
: 声明:第一张出现的小红帽是豆豆(小男孩)

avatar
p*2
7

怎么find呀?

【在 l*****a 的大作中提到】
: 5.
: const float EPSILON=0.00000001; //define by yourself
: then find float a,
: abs(a*a-n)
avatar
s*i
8
bless
avatar
q*x
9
那为啥要给定整数输入,而不是浮点?

【在 l*****a 的大作中提到】
: 5.
: const float EPSILON=0.00000001; //define by yourself
: then find float a,
: abs(a*a-n)
avatar
r*f
10
Bless
avatar
l*a
11
binary search吧
似乎还有什么泰勒展开的高级方法,不过俺不懂

【在 p*****2 的大作中提到】
:
: 怎么find呀?

avatar
t*i
12
Big bless!
avatar
q*x
13
牛顿法。

【在 l*****a 的大作中提到】
: binary search吧
: 似乎还有什么泰勒展开的高级方法,不过俺不懂

avatar
m*u
14
bless~这两宝贝太漂亮了
avatar
l*a
15
那你烁烁吧

【在 q****x 的大作中提到】
: 牛顿法。
avatar
h*n
16
bless
avatar
q*x
17
狗之。

【在 l*****a 的大作中提到】
: 那你烁烁吧
avatar
x*o
18
bless!
avatar
p*2
19

float也要binary search呀?

【在 l*****a 的大作中提到】
: binary search吧
: 似乎还有什么泰勒展开的高级方法,不过俺不懂

avatar
f*g
20
哇,好sweet的小boy。
祝福,希望早日拿到多多offers
avatar
l*a
21
1,n取平均值,然后缩小范围,再取

【在 p*****2 的大作中提到】
:
: float也要binary search呀?

avatar
y*g
22
sooooo cute
bless
avatar
q*x
23
楼歪了。这个方根题其实最不重要。

【在 l*****a 的大作中提到】
: 1,n取平均值,然后缩小范围,再取
avatar
s*d
24
bless,
but for what?
avatar
p*2
25

这样呀。学习了。

【在 l*****a 的大作中提到】
: 1,n取平均值,然后缩小范围,再取
avatar
C*W
26
big bless~~两只都是美猫~~
avatar
a*t
27
Bless
avatar
s*r
28
bless!
猫儿真干净

【在 l*********a 的大作中提到】
: 正在等offer,听说这个版的bless很好使,求bless。
: 顺发小猫照,不断长大中。。。
: 声明:第一张出现的小红帽是豆豆(小男孩)

avatar
l*o
29
bless
avatar
l*a
30

其实是不乐意呢, 不喜欢这个小衣服

【在 I********e 的大作中提到】
: 最后一张的眼神太性感了...
avatar
l*a
31

我们小豆豆就是特别粘人 像小姑娘一样

【在 f*******g 的大作中提到】
: 哇,好sweet的小boy。
: 祝福,希望早日拿到多多offers

avatar
l*a
32

嘿嘿 我们是indoor的猫 所以比较不容易脏

【在 s******r 的大作中提到】
: bless!
: 猫儿真干净

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