Redian新闻
>
重病人遇上想做白求恩的新医生
avatar
y*e
2
如何找到这个pair,有O(log n)的解法吗?
Sorted的队列包含duplicate元素.
avatar
a*n
3
下周想买点阿司匹林,2个$2 +up,这个不知道有没有limit?
avatar
l*h
4
无论多么烂的服务,都是五分。
avatar
T*r
5
昨天下午,病人来信要买俺的两剂毒药,本来说好的4点之前可以用USPS Express寄出
,今天就能收到。不料一个会议把俺拖住,最后没法在邮局cut-off之前寄出,只好取
消医院的交易,refund了病人。
到这个版上来诉苦了一下,有大虾指点我其实可以用FedEx寄,也可以今天收到。
本以为就这样结束了,不料病人在俺refund了以后还继续发信问有没有可能星期一中午
之前收到俺的毒药,最好是星期六就能收到,而不是一定要今天收到了。俺一时冲动,
好人做到底,就又list了毒药让他再买了一回,然后用FedEx Overnight寄给他。原以
为他可以今天收到,不成想FedEx也有cut-off时间,drop-off的时间晚了,而我又没想
起来选Saturday Delivery,病人还是得等到星期一才能收到。
郁闷呀,刚开始行医就没把事情办好。思前想后,想了一个主意,今天一大早跑到邮局
去,准备自掏腰包再给病人寄一剂毒药,让他在星期六至少能收到一剂药。至于他星期
一收到了Fedex的那两剂药,是退还给我一剂,还是扣下不还了,就随他了。想好了,
想起病人提起过他的地址是Business的地址,就特意打电话给病人问他的地址星期六有
没有人收包裹,结果是没人收。
于是俺这个白求恩没做成,病人反到连声感谢俺,安慰俺说星期一收到毒药也没关系,
倒搞得俺更不好意思起来了。
其实这个病人在ebay上的历史很短,才10出头的feedback。
avatar
l*n
6
no for sure
avatar
h*t
7
Yes, binary search, compare 2* arr[mid] with target, then move left or
right, which depends.

【在 y***e 的大作中提到】
: 如何找到这个pair,有O(log n)的解法吗?
: Sorted的队列包含duplicate元素.

avatar
l*y
8
看flyer,一般来说,有limit的在广告上会特别注明,如果没注明,一般来说,就没有
limit。

【在 a********n 的大作中提到】
: 下周想买点阿司匹林,2个$2 +up,这个不知道有没有limit?
avatar
i*a
9
Yelp 增的很烂. 六氓公司. 我现在完全不看 it 的
[发表自未名空间手机版 - m.mitbbs.com]
avatar
t*8
10
re BAOZI
avatar
D*9
11
even can't fit in after removing the box?

【在 l******n 的大作中提到】
: no for sure
avatar
y*e
12
请问能详细介绍一下。
多谢!

【在 h***t 的大作中提到】
: Yes, binary search, compare 2* arr[mid] with target, then move left or
: right, which depends.

avatar
i*4
13
广告上会写,没写就没有limit
avatar
h*z
14
其实angie's list也有很多充数的评论,很多都是给客户打个小折换来的

【在 l*******h 的大作中提到】
: 无论多么烂的服务,都是五分。
avatar
o*x
15
baozi
avatar
x*u
16
almost no way

【在 D****9 的大作中提到】
: will go to pick up soon.
avatar
m*6
17
How does that work? He is trying to find duplicates. If medium in array a is
10 and medium in array b is 8. How do you move? You know there is no
overlap between right side of array 1(>10) and left side of array b (<8).
You can not infer anything about the other subsets.

Yes, binary search, compare

【在 h***t 的大作中提到】
: Yes, binary search, compare 2* arr[mid] with target, then move left or
: right, which depends.

avatar
a*n
18
多谢!广告上没写。
avatar
m*1
19
连美国总统的选票都可以以福利的名义买过来,别说一个小小的yelp
avatar
p*p
20
赞敬业

【在 T********r 的大作中提到】
: 昨天下午,病人来信要买俺的两剂毒药,本来说好的4点之前可以用USPS Express寄出
: ,今天就能收到。不料一个会议把俺拖住,最后没法在邮局cut-off之前寄出,只好取
: 消医院的交易,refund了病人。
: 到这个版上来诉苦了一下,有大虾指点我其实可以用FedEx寄,也可以今天收到。
: 本以为就这样结束了,不料病人在俺refund了以后还继续发信问有没有可能星期一中午
: 之前收到俺的毒药,最好是星期六就能收到,而不是一定要今天收到了。俺一时冲动,
: 好人做到底,就又list了毒药让他再买了一回,然后用FedEx Overnight寄给他。原以
: 为他可以今天收到,不成想FedEx也有cut-off时间,drop-off的时间晚了,而我又没想
: 起来选Saturday Delivery,病人还是得等到星期一才能收到。
: 郁闷呀,刚开始行医就没把事情办好。思前想后,想了一个主意,今天一大早跑到邮局

avatar
m*e
21
I HAVE A CAMRY AND I HAVE A 46 TV. IT MAY FIT BUT VERY RISKY TO BREAK YOUR
SCREEN IF YOU REMOVE THE OUTSIDE BOX....

【在 D****9 的大作中提到】
: will go to pick up soon.
avatar
m*6
22
I don't think there is a solution better than O(N) where N is the combined
length of the two arrays. I wasn't able to find a better solution online
either.

How does that work? He is trying to find duplicates. If medium in array a is
10 and medi........

【在 m********6 的大作中提到】
: How does that work? He is trying to find duplicates. If medium in array a is
: 10 and medium in array b is 8. How do you move? You know there is no
: overlap between right side of array 1(>10) and left side of array b (<8).
: You can not infer anything about the other subsets.
:
: Yes, binary search, compare

avatar
r*x
23
果然重病。。。

【在 T********r 的大作中提到】
: 昨天下午,病人来信要买俺的两剂毒药,本来说好的4点之前可以用USPS Express寄出
: ,今天就能收到。不料一个会议把俺拖住,最后没法在邮局cut-off之前寄出,只好取
: 消医院的交易,refund了病人。
: 到这个版上来诉苦了一下,有大虾指点我其实可以用FedEx寄,也可以今天收到。
: 本以为就这样结束了,不料病人在俺refund了以后还继续发信问有没有可能星期一中午
: 之前收到俺的毒药,最好是星期六就能收到,而不是一定要今天收到了。俺一时冲动,
: 好人做到底,就又list了毒药让他再买了一回,然后用FedEx Overnight寄给他。原以
: 为他可以今天收到,不成想FedEx也有cut-off时间,drop-off的时间晚了,而我又没想
: 起来选Saturday Delivery,病人还是得等到星期一才能收到。
: 郁闷呀,刚开始行医就没把事情办好。思前想后,想了一个主意,今天一大早跑到邮局

avatar
d*h
24
混这个版的都应该去买wagon

【在 D****9 的大作中提到】
: will go to pick up soon.
avatar
y*e
25
Following hjdut's suggestion, I figured out a O(log n) solution to find a
pair of elements whose sum is equal to the given target.
1. Search for the target in {A[i] + A[i + 1], i = 0, ..., n - 2}
2. If the target is not found in step 1, find i such that A[i - 1] + A[i] <
target < A[i] + A[i + 1].
3. Start from this A[i] + A[i + 1] to explore the given target either
upwards or rightwards in the matrix {m[i,j] = A[i] + A[j]}. Here the
exploring process can be done in binary search way as well, which leads to
the O(log n) solution.

【在 h***t 的大作中提到】
: Yes, binary search, compare 2* arr[mid] with target, then move left or
: right, which depends.

avatar
g*e
26
好医生啊
avatar
D*9
27
it seems that i'll go to home depot to rent a pickup.
avatar
k*t
28
啥一类的药? 老山参级还是阿四皮林?
avatar
d*1
29
no
hatchback可以

【在 D****9 的大作中提到】
: will go to pick up soon.
avatar
T*t
30
BSO赚了不止一倍

【在 t********8 的大作中提到】
: re BAOZI
avatar
h*a
31
你的小车把盒子拿掉应该能放下吧?
拿个尺子量量后排座对角线还没47"?

【在 D****9 的大作中提到】
: it seems that i'll go to home depot to rent a pickup.
avatar
t*a
32
真是白球恩啊。。。还没遇到过这么好的医生。。。
avatar
m*r
33
you gotta be kidding?

【在 D****9 的大作中提到】
: will go to pick up soon.
avatar
a*l
34
把治病救人放第一位的医生,要写感谢信,发锦旗。
avatar
s*r
35
bso有47村大彩电和神车嘉美
avatar
d*0
36
包子
avatar
b*6
37
如果你的后排座位能放倒的话,从后备箱里可以塞进去
avatar
T*r
38
千年老山参级的灵丹毒药。

【在 k****t 的大作中提到】
: 啥一类的药? 老山参级还是阿四皮林?
avatar
S*2
39
80% NO
avatar
a*9
40
baozi
avatar
s*m
41
sure!
avatar
j*7
42
毒药好,以毒攻毒,药到病除。
准名医呀:)
avatar
A7
43
盒子拆掉后座可以搞定, 记得带条毯子
屏破了不要怪我就行

【在 D****9 的大作中提到】
: will go to pick up soon.
avatar
f*n
44
病得不轻啊
avatar
T*T
45
need someone to hold for you in back if you can take the box off.
avatar
p*l
46
放车顶一样走

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