由买买提看人间百态

topics

全部话题 - 话题: way
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
r******e
发帖数: 80
1
Given integer n and m, is there a fast way to calculate n*m or n/m using
only 'add' operation?
a straightforward way to calculate n*m and n/m is to add m times of n and
add multiple times of -m. Not sounds optimization enough. Any idea?
Thanks a lot.
v***n
发帖数: 562
2
来自主题: JobHunting版 - 问一道关于k-way merge的题
CAREERCUP上的:
If you have a 2 GB file with one string per line, which sorting algorithm
would you use to sort the file and why?
答案中第三步提到用K-WAY MERGE
哪位可以提供一个K-WAY MERGE的算法,谢谢!
t****y
发帖数: 27
3
This is actually not a good way.
A better way would be:
http://hackipedia.org/Algorithms/Optimization/html/Bit%20twiddl
p*****2
发帖数: 21240
4
LeetCode上的Decode Ways是一道Facebook的面试原题,而这道题的起源则是2012 黑客
杯第一轮的第三题。有网友问如何使用O(1)的space做DP?其实原题是不可以的,因为M
是变化的。而Decode Ways给简化为M=26了,这样才可以用O(1) space。由于想为了这
届黑客杯做做练习,用Ruby重新实现了一下。
http://blog.sina.com.cn/s/blog_b9285de20101h8l1.html
l********r
发帖数: 140
5
All the solutions I can find will need to use the special character to
represent the empty node. Is there a way to do it without using it?
For example:
a
b c
Will need 4 special character to represent the 4 null children nodes, which
will take too much space. Is there a way to save / load this binary tree
without using the special character?
(note: we are talking about a regular binary tree. It may not be balanced,
it is not a BST.)
l****a
发帖数: 129
6
【 以下文字转载自 Working 讨论区 】
发信人: ledona (ledona), 信区: Working
标 题: 一个美国朋友说catch up another way 是什么意思?
发信站: BBS 未名空间站 (Mon May 19 14:51:58 2014, 美东)
小弟最近毕业找工作,联系了一个去年开会认识的一个美国人,他是公司的一个
research manager。我发邮件问他今年还去开会不,如果去的话我们到时候可以见个面
聊聊,我向他打听下有没有工作机会。
他给我回邮件说恭喜我毕业,但是今年他不去开会,但是maybe we can catch up
another way? 各位能给分析分析这是什么意思吗?要我去找他聊聊吗?我开车去他公
司也就一个半小时吧
多谢先
p*u
发帖数: 2454
7
"
Hello visiting Amazon Interns!
I hope you are enjoying your summer here in Seattle!
I'm sure by now most of you are settled into your gigs at Amazon and working
on some project the team you got stuck onto has put off for months and
thought, "Fuck it, just give it to the intern when they show up in June."
Since I have been at Amazon I've seen hundreds of you guys come through, you
're all smart as hell and you work yourselves to the bone over the summer
for a chance to impress your mentor and g... 阅读全帖
h****a
发帖数: 883
8
来自主题: Living版 - 铲一次driver way的雪要25刀
铲一次driver way的雪要25刀?划不划算呢?我的drive way大概就25-35feet吧!他们
的政策是下雪大于3inch的话就来铲。我家在New England,雪挺多的!
B********4
发帖数: 7156
9
来自主题: Living版 - 铲一次driver way的雪要25刀
那你们家的"drive way到车库门口的那20来feet"是什么way? 如果这个不算 driveway,
那你们的车如何越过这20来feet开进车库的?
j**d
发帖数: 293
10
最近刚买的房子,walk way是水泥的,是靠房子这边倾斜,导致雨水都进到墙角,雨一
大地下室就有点漏水。
不知道能不能在现有的walk way上铺一层水泥,靠墙角这边弄厚一些,这样slope是朝
着外面。不知道这样是否可行?
j**d
发帖数: 293
11
minimum thikness是指现有walk way的thickness加上新铺水泥的thickness呢?还是指
新铺水泥的thickness?我现在的walk way的水泥已经很深了。
a**s
发帖数: 1398
12
现在有些SFH或者称作detached condo,有attached garage没有drive way,带很小的侧
院,价钱可比Condo高得多。
问问大家院子的重要性,尤其是对孩子。还有,没有drive way影响大不大。
l*********1
发帖数: 940
13
今早6点多,LG像往常一样去上班,刚打开车库门,发现我家drive way上停了一辆
truck,不晓得是谁的。 LG还想着从另一个车库门用另一辆车,才发现这个truck太缺
德了,正好停在drive way的正中间!!!
另外还有一辆车,1侧的2个轮子都压在了我家的lawn上。
我猜是隔壁邻居的车,但大早上不到7点又不好意思去敲人家门,万一不是就窘了。
LG实在没办法,打了911,911给提供了另一个号码让我们打过去,那边记下了这2辆车
的车牌号,我家的地址,说会拍officer过来,让我们自己打电话叫拖车公司把车拖走。
在我们打电话的时候,邻居胖大婶出来倒垃圾,一直盯着我们看。我还寻思着估计不是
她家车,否则好歹打个招呼说一下啊。结果,5分钟后,从邻居胖大婶家里出来几个
teenagers,毫无诚意
的、轻描淡写的说了一句"Sorry"然后就把车挪走了。
我们刚搬进新家1周,邻居还都不认识呢,但那个胖大婶看着真的好mean,我们不想把关
系搞僵,就打电话cancel掉了刚才的service。
前后折腾了我们快1个小时。。。本来一个好好的happy Friday,咋是这个样子呢。
我... 阅读全帖
l*****e
发帖数: 1030
14
根本不存在搞不搞僵的问题,该怎么办就怎么办,想那么多干嘛

今早6点多,LG像往常一样去上班,刚打开车库门,发现我家drive way上停了一辆
truck,不晓得是谁的。 LG还想着从另一个车库门用另一辆车,才发现这个truck太缺
德了,正好停在drive way的正中间!!!
另外还有一辆车,1侧的2个轮子都压在了我家的lawn上。
我猜是隔壁邻居的车,但大早上不到7点又不好意思去敲人家门,万一不是就窘了。
LG实在没办法,打了911,911给提供了另一个号码让我们打过去,那边记下了这2辆车
的车牌号,我家的地址,说会拍officer过来,让我们自己打电话叫拖车公司把车拖走。
在我们打电话的时候,邻居胖大婶出来倒垃圾,一直盯着我们看。我还寻思着估计不是
她家车,否则好歹打个招呼说一下啊。结果,5分钟后,从邻居胖大婶家里出来几个
teenagers,毫无诚意
的、轻描淡写的说了一句"Sorry"然后就把车挪走了。
我们刚搬进新家1周,邻居还都不认识呢,但那个胖大婶看着真的好mean,我们不想把关
系搞僵,就打电话cancel掉了刚才的service。
前后折腾了我们快1个小时。。。... 阅读全帖
i****e
发帖数: 157
15
来自主题: Living版 - drive way到了邻居的领地上
请教各位达人,最近下了一个offer,律师go through文件的时候,seller说他们的
drive way有一小部分越到了邻居的领地,还有一点越到了public的地盘,这个房子的
drive way都是用砖砌出来的,包括两旁的栏杆,要修改似乎工程量不算小,这种情况
,作为buyer,应该怎么办呢?这个问题严重吗?谢谢!
A******D
发帖数: 1075
16
来自主题: Living版 - drive way到了邻居的领地上
问seller那drive way占领邻居领土多少年了,邻居有没有宣誓主权,seller有没有签
字说邻居给了permission。
1.若占领10年以上,邻居没有宣誓主权,那你就有right of way,他不可收回这个领土。
2.若seller给邻居签字说邻居给了permission所以用了这个领土,那么邻居随时可以收
回permission,那你就得拆了。如果邻居不收回permission,只要他拿着那个签字,你
也没有那个10年就据为己有的东西了。
3.如果10年内,或者给了permission但是邻居要收回,你就拆了吧。
p*****r
发帖数: 525
17
后院DRIVE WAY左边大概一米左右时属于我们家的PROPERTY。
他的大TRUCK 停路边一个多月也不动动,据说要卖掉,从来不开。
问题是我车从DRIVE WAY 倒出,然后屁股要往那个方向摆,很容易碰到。
上次就挂到了。我的车子挂了点油漆, 他的TRUCK一点事也没有。
跟邻居关系还不错, 这种小事,好像开不了口。
但每天小心翼翼倒车很不爽。
这个老美,人还很不错, 他们家有个小石头的坑, 它的狗不断把小石头往我的FENCE
扒。 把我的FENCE的POST都压断了。上次跟他说了一下。 终于来清理一下。不过现在
小石子继续压我的FENCE。 经常漏到我家。
都是些小事,开口又有点碍于面子。有什么好办法
t***n
发帖数: 546
18
来自主题: Living版 - drive way 坡太陡是不是不好?
今天去看了个房子,大门和drive way朝向东南,房型,阳光,小区和学区都非常好,
就是drive way的坡很陡,大约20度。因为在东北部,怕冬天结冰不好上下。有经验的
同学能说说吗?
谢谢。
n******p
发帖数: 67
19
Anyone has used the Broan E6436SS 2-Way 600 CFM, it seemed better than the
30ss 1-way.
It does not need the external blower.
Trying to install hood for our kitchen, need some suggestion.
THX.
F***Q
发帖数: 6599
20

if the drive way is flat, it is nothing. it only matters when it is on a
slope, like mine, or a steep slope, like my friend's
you will need it anyways no matter you have a drive way or not.
s********z
发帖数: 5411
21
来自主题: Money版 - best way to redeem capitalOne points?
now, the best way is to just redeem for the travel expense, right?
1 cent for 1 dollar.
any way to do better?
?
j******m
发帖数: 612
22
I will be spending like 30 days in a hotel (any chain is fine) due to
business. I want to find the best way to take advantage of that. What should
I do to add those hotel stays for my UA/AA/Delta point accumulation. Or is
there other better way to use those hotel stays? Thanks in advance.
m**********e
发帖数: 1045
23
Got business premier rewards card for 50K after $1000 spending with 1st
year of annual fee waive.
I am not palnning to keep this card long than one year and not planning to
use it very often (most used card: chase family) so want to know which way
is the best to use those point : around 52K
transfer to BA and than sell it on flea market here?
Din operate before here?
Thanks for the input!
f****y
发帖数: 921
24
来自主题: Money版 - 去机场的one way租车怎样订
多谢详细解答。是去SFO,100mile左右。
uber肯定150以上,就别说出租车了。
所以估计还是寄希望于one way租车。2)里说的积分能有哪家呢,试了csr去UR网站,
点数租不能one way。amex家好像没有点数兑换租车。还能有谁家点数可以租?
D***s
发帖数: 5613
25
Another way to earn points is through the e-Rewards program, which offers “
reward dollars” in return for filling out surveys online. While this is a
time-consuming way to earn points, those who are part of the e-Rewards
program will find transfers to Hertz one of the most valuable options. 60 “
reward dollars” worth of e-Rewards currency can be transferred to 500 Gold
Plus Rewards points, which is a reasonable approximation of what those
points can be worth.
J*o
发帖数: 669
26
用的chase UR定的车,dollar公司的,上面说预计有110刀的one way fee.
但是打电话给dollar,dollar说,拿车和还车如果两个都是机场的话,即使是两个州,
也是没有one way fee的
两边哪边是对的啊?
谢谢大家!!有确定答案的送包子!!!
j******a
发帖数: 224
27
看情况有时候不收,比如冬天是旺季,如果你从纽约州租车去FL 有可能很便宜也不要
one way fee。因为他们需要把车都弄过去,你不租,他们也得花钱。所以要看情况,
正常情况都是有one way fee 的。 不管你在哪拿哪换。
C*N
发帖数: 1792
28
来自主题: NextGeneration版 - A way to make the 月嫂 work legally (转载)
【 以下文字转载自 SanFrancisco 讨论区 】
发信人: CDN (mimi), 信区: SanFrancisco
标 题: A way to make the 月嫂 work legally
发信站: BBS 未名空间站 (Thu Aug 14 11:12:48 2014, 美东)
Actually there is a way to work this out.
In the contract, specify that certain hours of time the nanny is not on duty
, not on call, so not getting paid.
Specify an hourly rate the same as the minimum wage.
Write in the contract that the room and meal is provided as the benefit to
the nanny, and a credit to the payment due. You can say you do not r... 阅读全帖
w********t
发帖数: 18315
29
来自主题: Parenting版 - The Chinese Way or the American Way?
get MY WAY
虎妈自己是ABC,嫁了个美国人,已经谈不上中国味了
出书提到中国人,不过是添个噱头而已
尤其现在中国在美国人眼里,就跟一只日益壮大的老虎一样
因材施教,是最好的,你的孩子你做主
b***6
发帖数: 6011
30
我是先扫卡,扫东西,扫胖子,每次都是:assistance on the way. 每次都要小二过
来approve 一下。
不管是什么胖子,胖子随便一扫,屏幕就显示 多少多少off 马上有显示: assistance
on the way
这是什么情况?
z****g
发帖数: 50
31
coupons.com 有
BUY 2, GET 1 FREE
on any SNICKERS, TWIX, M&M'S, DOVE, MILKY WAY, 3 MUSKETEERS or BITES Brand (
1.14 oz. - 2.83 oz.)
Save $2.00 Mars Chocolate
on any THREE (3) SNICKERS, TWIX, M&M'S, MILKY WAY, DOVE, 3 MUSKETEERS or
BITES Brand Bags (7 oz. - 11.5 oz.)
应该也可以同时用吧
x********i
发帖数: 128
32
Nakamichi Splashproof Wireless Speaker in Black for $69.98
Get $60.70 in Shop Your Way points!
Sign into your Shop Your Way Account, click on “Rewards”, then “Deals and
Coupons” and then click on the coupon box to see all of the discount
offers available. When you find an offer you like, click Load Coupon and you
will be able to apply it at checkout.
$10 back in points on a $50 storewide purchase at Sears (valid in-store and
online)
Plus
$5 off $50 purchase
Spend 64.98+tax get $70.70 in points w... 阅读全帖
k**i
发帖数: 10191
33
刚才不小心把已经LINK的SHOP YOUR WAY卡点"UNLINK"了,然后再怎么重新输入都告诉
我,这卡已经在SHOP YOUR WAY上有记录有人在用这卡了,不让我重新LINK。。。。 晕
倒~~什么系统这样啊。。。有什么办法能把信用卡再LINK上呢?谢谢。
前三楼回答问题的TXS,每人一个包子。
d*******8
发帖数: 349
34
就是版上有人说的sears显示points为0,我有一两百刀points,现在不用了。问了info
@shopyourwayrewards.com
他们回复如下,是不是要不回来了,哭死。那位发信给[email protected]/* */的mm有回复吗?
他们怎么说的。
Thank you for contacting Shop Your Way regarding your account.
Your account has been closed due to non-compliance with the terms and
conditions of the Shop Your Way program as stated below.
Inquiries can be sent to [email protected]/* */ This team will be better able to
answer your questions about your account.
Company may adjust your Points account... 阅读全帖
x***i
发帖数: 4315
35
如果你有Chase Ultimate Reward Points (freedom, sapphire or other ultimate),打算直接cash out checks,还是请卖给我吧。如果小于3万,每万点@$138, 3万至5万每万点@$140,大于等于5万每万点@$142。
请战内我点数以及你接受什么payment方式(Chase quickpay; noncc paypal; BOA;
Billpay; Amazon payment)。可以先付款后转点。
谢谢!
A few examples adapted from my old post in the board (pls extend my appreciation to those IDs who replied under my original post):
发信人: ways (ways), 信区: shopping
标 题: Re: 【求购】1万Chase Ultimate Reward Points @$135
发信站: BBS 未名空间站 (Wed Aug 10 19:52:57 2011, 美东... 阅读全帖
U********f
发帖数: 2482
36
no, I did not try this. It could be a way but not my way.
W***n
发帖数: 11530
37
来自主题: Stock版 - Twitter Is Way Overpriced
If Microsoft Overpaid for LinkedIn, Then Twitter Is Way Overpriced
Twitter is trading for 5 times the multiple Microsoft paid for LinkedIn
Adam Levy
Sep 9, 2016 at 1:06PM
When Microsoft (NASDAQ:MSFT) decided to plunk down $26.2 billion for
LinkedIn (NYSE:LNKD), most analysts agreed it was a steep price for the
Redmond-based company to pay. Not only was it a 50% premium over the stock's
price at the time, it was 91 times the company's trailing EBITDA through
the first quarter of the year. When Li... 阅读全帖
w**k
发帖数: 6722
38
ONE WAY
注意哦,是ONE WAY
只管去的
BTW西南有34架737max8,全美最多
c**********7
发帖数: 4176
39
Hi,
I live in CA now but I have rental income from other state. After
depreciation and expense, it's a loss, is there any way I can deduct this
loss on 1040?
I filed 1040 Schedule E, but it won't allow any deduction if MAGI is over
150K.
For CA state income tax, can I claim this loss even if I can't do it on
federal 1040?
Any way around this?
p***e
发帖数: 29053
40
07/02/2011: Eyes of East Indians and Chinese Professionals Focused on
Upcoming August Visa Bulletin Since It Can Go Both Ways
Under the U.S. Department of State policy, the visa numbers are allocated
quaterly in compliance with certain standards such that the visa numbers are
managed and distributed in a regulated and orderly matter considering the
trend of demands for the visa numbers by the USCIS and Visa Posts outside of
the United States. The last quarter allocation has historally shown
unpr... 阅读全帖
s**l
发帖数: 11983
41
【 以下文字转载自 NorthEast 讨论区 】
发信人: sill (dingding), 信区: NorthEast
标 题: 推荐战争电影《登陆之日》(my way)
发信站: BBS 未名空间站 (Mon Dec 23 20:02:28 2013, 美东)
https://www.youtube.com/watch?v=Ve6FkRqVSnk
vhttps://www.youtube.com/v/Ve6FkRqVSnk
《登陆之日》(My Way)是一部韩国和美国合拍的一部战争片。影片由《太极旗飘扬》
的姜帝圭执导,以二战诺曼底登陆为背景,讲述了被日本军征集为纳粹德国作战的韩国
士兵们的故事,由中韩日三国明星共同主演。
电影《登陆之日》是张东健与姜帝圭导演自《太极旗飘扬》之后又一次聚首合作的电影
。影片以第二次世界大战的诺曼底登陆为背景,讲述了韩国人被日本殖民政府强行征兵
然后参加日军在诺门坎与苏军作战,后被俘参加苏军在苏德战场与德军作战,后被德军
俘虏后在诺曼底与美军作战,最后被美军俘虏后投奔美军的韩国士兵的故事。
亮点一:战争动作场面恢弘亮相
在该片中,张东健有大量的高... 阅读全帖
h*******n
发帖数: 980
42
Hertz的offer,最适合从arizona one way rental to neighbouring states。我定了一
周SUV, PHX-LAX的one-way,含税一共$70。如果租小车的话只要$9.86。
https://www.hertz.com/rentacar/bb-8657875/drive-out-of-arizona-for-as-little
-as-$5-per-day-special-offer
除了DRV5这个rate code以外,你还可以用其他的CDP+PC to cut rate even lower.
o******d
发帖数: 743
43
来自主题: Carolinas版 - NC 买车时候交的high way use tax
我当然交了high way use tax,北卡说是用high way use tax 代替sales tax。难道这
个不算?
s***5
发帖数: 453
44
http://www.postandcourier.com/news/2010/sep/28/whats-best-way-to-fix-the-lakes-at-crosstown/
Traffic on the crosstown was backed up for hours Monday afternoon when some
guy in a johnboat blocked all six lanes while baiting for shrimp.
OK, that's a joke. Everyone around here knows the water on the crosstown is
way too deep for shrimp-baiting poles.
There's nothing like a few inches of rain during the morning rush to get
folks griping about our pesky flooding problems. It's true, a few hours of
he
c******t
发帖数: 108
45
来自主题: Indiana版 - Park way apt sublease (出租)
帮朋友发的~ 很不错的价格,特别适合来美国半年的访问学者。
由于他走得紧,所以如果商量得好,他愿意把屋内的家具免费留给续租的人,具体的请
自行联系。 765-409-5379 a*******[email protected]
这个两室的,室友是非洲人,ECE的,明年5月毕业, 作息习惯正常,也挺爱干净的。
$250 / 1br - 1 Bed room available in 2
Bed room apt (Park way apartments,
West Lafayette)
I want to sublease a bed room in a two bed room
apartment complex located at Park way Apartments
and town homes (2501 Soldiers Home Rd W. Lafayette)
located on the city bus line. There is one person
occupying the other bed room.
The management will pay for wa... 阅读全帖
m****3
发帖数: 19
46
【 以下文字转载自 Love 讨论区 】
发信人: prettyday (美丽的日子), 信区: Love
标 题: Driving on the Way: 写在相识五周年(上)
发信站: BBS 未名空间站 (Sun Apr 15 00:11:27 2007)
老公版。挺长的,可我也写不出摘要,不喜欢长文章的朋友绕过吧。
Driving on the Way: 写在相识五周年
小的时候自己做游戏,常常装成一个司机。两把靠背椅对拼在一起就是车身,前面
放上一张方凳当作车头,靠背椅上放个小板凳就是我的驾驶座,最后把家里的痰盂盖倒
过来当方向盘,一个圆盘下面一个长棍,还蛮像的。 就这样我驾驶着我的“汽车” 开
过了一站又一站,走过了一年又一年。
那个时候做梦也想不到有一天自己真的会开上一辆汽车,而且是属于自己的汽车。
更想不到的是开在离故土万里之遥的另一片土地上。在你我之间是300英里的路。这是
一条新奇、瑰丽、满载深情的路。我开在这条路上,从夏到秋,经冬到春,不知不觉已
经是我们相识五年的纪念日了。
早上出发向东开,车上常常要准备一副太阳镜。耀眼的阳光透过挡风玻
f********e
发帖数: 116
47
今天早上下大雨,我从SD急着要赶到fallbrook,结果走HW15N的时候,也没注意,而且
又看不太清楚,看到地上好像是Carpool,就顺着开进去,结果再往里面一点,就发现
自己在express way上。我听说,好像要交钱才能开express way...不知道要罚款多少
啊?现在心里超级忐忑。。。
i****a
发帖数: 36252
48
http://www.npr.org/2010/11/22/131513165/born-in-the-u-s-a-some-chinese-
plan-it-that-way?ft=1&f=1001
Like any responsible pregnant woman, Chen Lei (not her real name) wants
the best for her unborn child. She and her husband live in Shanghai and
both work for a foreign IT company and they have more choices than their
parents' generation could even dream of.
So Chen, 30, is one of an increasing number of mainland Chinese women
who are taking advantage of a loophole in American law to travel to the... 阅读全帖
f*********n
发帖数: 423
49
来自主题: Mississippi版 - UA也有one-way award了
But UA never flys to/from Mississippi, nor United Express.
And one way reward can only be redeemed for United/United Express
ticket (no way to redeem from their partners - such as Continental).
So basically useless...
G*********o
发帖数: 49669
50
来自主题: Mississippi版 - UA也有one-way award了
mark米兄

But UA never flys to/from Mississippi, nor United Express.
And one way reward can only be redeemed for United/United Express
ticket (no way to redeem from their partners - such as Continental).
So basically useless...
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)