由买买提看人间百态

topics

全部话题 - 话题: maze
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
i*****s
发帖数: 4596
1
来自主题: Military版 - 对科学精神注解最好的一篇文章
有一个不怎么准确的译文,不过可读性倒是不低,我把原文附在后面:
祖神来归式科学
费曼(Richard Feynman)
在中世纪,有各种类型的古怪观念,如象一块犀牛角会增强权力。后来找到一种方
法将各种观念进行分类 --- 行得通就弄明白它,行不通就取消它。尔后,这种方法
就逐步形成科学。而且它发展得很好,所以我们现在是处在科学的时代。然而使我
们很难理解的是,就在这样一个科学时代巫医怎么会存在,巫医提出的事,从没有
真正行得通 --- 或者很少行得通。
但是时至今日,我遇到不少人,他们总会和我说到飞碟(UFO),或者星相学,或者
某些神秘主义,扩大的知觉,新型意识,超感觉力,等等。我得到结论,这都不属
于科学世界。
许多人相信那些荒诞不经的事物,使得我决意研究他们为什么这样。我的好奇心促
使我去进行研究,而所涉及到的内容却使我陷入困境。居然有这么多糟粕,真使人
吃惊。首先我由研究神秘主义,神秘经验的各种思想入手。我进到隔离的试验槽,
并有过许多小时的幻觉经历,所以我知道关于神秘主义的某些东西。我还去过埃萨
伦,这里是各种思想的温床(这是一个很好的地方,你们应当去看看)。然后我变
得不... 阅读全帖
w****y
发帖数: 2952
2
来自主题: Military版 - 方舟子确实博闻强识
便宜同样对processed-food manufacture一样啊。美国又不要label,人家收购GMO的
maze,利润不更大。你拿个种non-gmo的话当证据,干脆拿袁木的话证明六四没开枪。

GMO
or
b******y
发帖数: 143
3
来自主题: Military版 - 美国人修路工作效率太低
我对这个进行过研究,一个主要的原因是美国Public Project往往要求修路公司必须
使用工会雇佣的工人.另外一个例子是纽约州的Wicks Law,原本是为了杜绝意大利移民
黑手党插手Public Project,而在100年以后,这个东西使纽约州的public Project的费
用全美最高,例如一个承包商在修建学校(或者修路)时,Wicks Law要求每个项目的管理
都必须分开来,造成整个项目的成本上升(Unions love this),
http://en.wikipedia.org/wiki/Project_Labor_Agreement
另外一个跟极端的例子是Jones Act(Unions also love this),墨西哥湾BP石油泄漏
后,奥巴马政府宁可让石油继续泄漏 也不让外国公司来帮忙!
http://www.examiner.com/article/obama-blocked-clean-up-of-bp-oil-spill-by-america-s-allies-failed-to-issue-timely-jones-act-w... 阅读全帖
w*********g
发帖数: 30882
4
这是伟大的休战时间。所有国家都庄严承诺自己不与任何其他国家打仗。俄罗斯,德国
,奥地利,意大利,希腊和土耳其的军队开始逐步动员,第一波行动开始。力量集结后
开始向东移动。所有铁路上都充斥着到亚洲的部队的列车。中国是这一切行动的最终目
标。过了一段时间后,庞大的海上行动。来自各个国家的远洋军舰远征而出,舰队随后
,一直到中国沿海。国家清空了他们的海军码头。他们派出了预算官,工兵,和灯塔守
护者,他们派出了过去陈旧的巡洋舰和战舰。同时他们开始招募商船加入。统计表明,
共有58640艏商船,配备探照灯和速射火炮,由各国开往中国。
中国在微笑地等待着。在她的土地边,沿着她的国界,驻扎了以百万计的欧洲战士。她
动员了五倍于此的民兵等待入侵。这次看来与上次一样。但中国突然感到困惑。因为这
支庞大的队伍并没有开始入侵。她无法理解这一现象。广大的西伯利亚边境一切都归于
平静。她的海岸城镇和村庄甚至没有遭到炮轰。在世界历史上,从来没有过如此强大的
战争舰队的聚集。世界上所有的船队,百万吨的战舰聚集在她的海岸线上,却什么都没
有发生。没有任何尝试。他们想使她离开她的地盘吗?中国笑了。他们以为能够厌倦死
她... 阅读全帖
g***j
发帖数: 40861
5
真是好基友啊
历任总税务司[编辑]
外国籍
[英]李泰国(Horatio Nelson Lay,1859年-1863年)
[英]赫 德(Robert Hart,1863年-1911年)
[英]裴式楷(Robert Edward Bredon,1908年-1910年代理)
[英]安格联(Francis Aglen,1910年-1912年代理,1912年-1929年正任)
[英]梅乐和(Frederick Maze,1929年-1943年)
[美]李 度(Lester Knox Little,1943年-1950年)
中国籍
罗庆祥(1950年-1955年代理)
方 度(1950年-1960年代理,1960年6月24日-1960年7月24日正任)
张申福(1960年-1964年)
曲树桢(1966年-1971年)
王树德(1972年-1978年)
袁宝璧(1978年-1984年)
郑钦明(1984年-1987年)
黄清浔(1987年-1990年)
詹德和(1990年-1991年)(后,海关总税务司改组为财政部关税总局)
g*q
发帖数: 26623
6
梅乐和爵士,KCMG(Sir Frederick William Maze,1871年7月2日-1959年3月25日)
,英国人,第4任中国海关总税务司。生于英国贝尔法斯特。父亲是一名亚麻商人;舅
父赫德是第2任总税务司。1891年,加入海关,历任粤海关、津海关、江海关税务司。
1928年10月任副总税务司;1929年1月,任总税务司。[1]抗战时,部份地方海关随国民
政府撤退,部份被日方接收,但在重庆政府的默许下,梅乐和仍然留在上海担任总税务
司。直至1941年12月,太平洋战争爆发后,梅乐和才被日方拘捕,日方改以岸本广吉为
总税务司。中方则以周骊(C. H. B. Joly)为代总税务司。
梅乐和于1943年获释,到重庆回任总税务司。不久因病退休,与夫人移居加拿大卑诗省
。1959年逝世。
k******s
发帖数: 506
7
来自主题: Military版 - 六四是一座共产主义的丰碑
没这帮人挑唆何至不可收场。大一进校就从maze上下了纪录片,看完的感觉就似乎柴玲
王丹完全属于送死你去背黑锅也你去的野心人士,的亏没让他们上台。就跟大选非得从
两群流氓里选一群一样,要说中国那两群,我宁可选老邓,好歹人家有治国经验有担当。
t****z
发帖数: 8931
8
来自主题: Military版 - 加拿大是水做的骨肉,好清爽
如果列举一下事实就捣痛某些人g点
再来一条昨天新闻,就是刀割某些人菊花
洛杉矶/纽约等城市饮用水严重超标
报告显示目前2.18亿的美国人正每天喝着严重超标的饮用水,其中加州,爱荷华州、亚
利桑那州超标最为严重,达到了及其危险的水平!
旧金山湾区华人资讯 · 2016/09/22 22:15评论(0) 收藏(0) 1.5W字体:宋
根据CNN最新报道,美国本周二公布的一份国家报告显示,美国多个城市的饮用水被一
种可致癌的有毒物质(六价铬Chromium-6)污染,严重影响了亿万美国人的生命健康。
报告显示目前2.18亿的美国人正每天喝着严重超标的饮用水,其中加州,爱荷华州、亚
利桑那州超标最为严重,达到了及其危险的水平!
2亿人受“致命”污染!
近几年来,美国的一家独立的环境考察小组(Environmental Working Group)一致致
力于对全国各主要城市的生活水系统进行健康检测。EWG的最新研究报告发现,2013年
至2015年美国国家环境保护局(EPA)检测的全美饮用水样本中,75%的样本六价铬含
量不低于千亿分之三(0.03 ppb)。约700万美国民众使用的自来... 阅读全帖
t****z
发帖数: 8931
9
纽约,加州,德州,美国自豪三州
华人趋之若鹜的天堂
洛杉矶/纽约等城市饮用水严重超标
报告显示目前2.18亿的美国人正每天喝着严重超标的饮用水,其中加州,爱荷华州、亚
利桑那州超标最为严重,达到了及其危险的水平!
旧金山湾区华人资讯 · 2016/09/22 22:15评论(0) 收藏(0) 1.5W字体:宋
根据CNN最新报道,美国本周二公布的一份国家报告显示,美国多个城市的饮用水被一
种可致癌的有毒物质(六价铬Chromium-6)污染,严重影响了亿万美国人的生命健康。
报告显示目前2.18亿的美国人正每天喝着严重超标的饮用水,其中加州,爱荷华州、亚
利桑那州超标最为严重,达到了及其危险的水平!
2亿人受“致命”污染!
近几年来,美国的一家独立的环境考察小组(Environmental Working Group)一致致
力于对全国各主要城市的生活水系统进行健康检测。EWG的最新研究报告发现,2013年
至2015年美国国家环境保护局(EPA)检测的全美饮用水样本中,75%的样本六价铬含
量不低于千亿分之三(0.03 ppb)。约700万美国民众使用的自来水中,六价铬含量超
... 阅读全帖
r***e
发帖数: 10135
10
来自主题: Military版 - 其实不用修墙,装摄像头就行了
The Maze 3
n******g
发帖数: 17225
11
来自主题: Military版 - 北大女生其实真的很一般

当年Maze上泄漏了03级所有女生的校园卡全头像,美女真不多。
t*******a
发帖数: 4055
12
魔鬼的屠杀---美国拉斯维加斯枪击血案背后的震惊内幕
2017-10-09 10:24栏目:红德智库
浏览数:393次
作者简介:刘铁侠(Dennis Liu),美籍华人。长期从事美国政治、军事、金融的研究
和活动,著有巨作《魔鬼的奸计-911真相调查报告》一书,2006年香港轰动出版。並著
有《魔鬼的天空-馬航MH370調查報告》、《特朗普意外當選,還是美國的一場政變?》
、《美國總統選舉的幕後黑手》等精彩文章。作者在美国曾经开设源丰泰金融投资公司
,担任美国运通(American Express)公司资深投资顾问、华尔街大鳄摩根斯丹利(
Morgan Stanley)资深副总裁、美联投资公司(Wachovia) 资深副总裁等要职,对美国
影子政府的陰峙c騙局、国际政治中的黑箱作業,有独特的研究、见解、及深邃的剖析
。 作者邮箱:[email protected]
2017年10月1日发生在美国的赌城拉斯维加斯枪击血案,再次震惊了全世界。2
万2千多个歌迷汇聚在曼德拉海湾大赌场(Mandelay Bay Resort & Casino)对面500米
外的露天音... 阅读全帖
j*****p
发帖数: 24000
13
来自主题: Military版 - 觉得我的娃是相当的幸运
the maze runner?
有好几集,你看的是第三集吗?
n******g
发帖数: 17225
14
首先,反共和反华分的清吗?我祖上被共产党关监狱、抄家、批斗,这仇不是泥腿子出
身的能懂的。其次我从北大天网Maze上下载看了记录片《天安门》之后,态度就一直很
坚定。
其次,这论坛北大本科出身的ID这里就没俩、仨,当个“最”字、难度不大,所以您的
话有点儿太恭维了。
s********i
发帖数: 17328
15
这问题早就有研究啊:
The Seven Types of Intelligence
1. Linguistic
Enjoy writing, reading, telling stories or doing crossword puzzles.
2. Logical-Mathematical
Interested in patterns, categories and relationships. Drawn to arithmetic
problems, strategy games and experiments.
3. Bodily-kinesthetic
Process knowledge through bodily sensations. Often athletic, dancers or good
at crafts such as sewing or woodworking
4. Spatial
Think in images and pictures. May be fascinated with mazes or jigsaw puzzles
, or spe... 阅读全帖
s*******u
发帖数: 9508
16
抗战爆发时,中国海关总税务司梅乐和(F.W.Maze,英国人)
L*****d
发帖数: 5093
17
The S&P 500 is poised to hit a record high on Monday, up more than 20% year
to date and completing a rebound from an August sell-off.
“Of the S&P 500 companies that have reported over the last month, just 32
mention recession on their calls,” says Nick Mazing of Sentieo.
The economic narrative has shifted from “recession” earlier in the year to
“slower, but stable growth,” a far-less dire scenario, says CFRA chief
equity strategist Sam Stovall.
D****8
发帖数: 408
18
Title: New York, New York
歌手:艾敬
New York
You make me excited
New York
You are my cup of coffee
New York
New York
My love
My town
My love
My town
Though the streets are a maze
Though the buildings are high
I still find the way to you
New York
New York
New York
New York
New York
New York
New York
New York
How many stars are shining for you
How many beauties are dying for you
New York
New York
New York
New York
New York
New York
New York
New York
How many times I've been calling you
How many times ... 阅读全帖
u***r
发帖数: 4825
19
http://www.nytimes.com/2011/02/25/world/asia/25afghanistan.html
This article is by C. J. Chivers, Alissa J. Rubin and Wesley Morgan.
Multimedia
Map
Pech District
Related
*
Times Topic: Afghanistan
Enlarge This Image
David Guttenfelder/Associated Press
American soldiers fired on insurgents from outposts in Kunar Province in
2009. Now, the military is largely pulling out of the area.
Readers' Comments
Share your thoughts.
* Post a Comment »
* Read All Comments (323) ... 阅读全帖
l*******g
发帖数: 28502
20
来自主题: RuralChina版 - 我最希望看到的结果
这个公园还有一个区,名字就叫maze,我已经不敢去了。
l*******g
发帖数: 28502
21
来自主题: RuralChina版 - [合集] 我最希望看到的结果
☆─────────────────────────────────────☆
bingchuan (冰川很生气,后果很严重) 于 (Tue May 17 03:40:04 2011, 美东) 提到:
就是输了菠菜,让马蜀黍上任
没想到站务给我这么大的惊喜,让我"赢了"菠菜
然后让马蜀黍上任
真是太nice了
捐20个包子给版上
让马蜀黍再发一圈包子吧
:)
☆─────────────────────────────────────☆
kaylaxu (人生如戏) 于 (Tue May 17 09:39:34 2011, 美东) 提到:
wa cong
congrats!

☆─────────────────────────────────────☆
isis1414 (伤不起) 于 (Tue May 17 09:45:54 2011, 美东) 提到:
re
☆─────────────────────────────────────☆
StephenKing (88) 于 (Tue May 17 09:48:00 2011, 美东) 提到:... 阅读全帖
l***n
发帖数: 731
22
来自主题: USANews版 - palin in corn
http://embeds.blogs.foxnews.com/2008/10/22/palin-in-corn/
AKRON, OH – On our flight from Toledo to Akron the flight attendants on the Palin plane told us to look out the left side of our window for a once in a life time glimpse at a crop circle. But, not just any crop circle made by a mischievous farmer or actual aliens, but one that is cultivated to “resemble” Sarah Palin.
The corn maze is located in the appropriate town of Whitehouse, Ohio. On our first pass by the Palin crop “circle,” not eve
l****z
发帖数: 29846
23
By Stella Paul
Since we live in a craven age, let's salute our few heroes. Meet Jessica
Felber, a 21-year-old Lioness of Judah, who's suing the University of
California for failing to protect her civil rights.
Felber is a student activist at Berkeley who simply asserts her right to
stand on campus and hold a sign saying, "Israel Wants Peace," without
subsequently needing urgent medical attention. What Jew can count on that
right on a UC campus these days?
In March 2010, Felber was violently as... 阅读全帖
t*******h
发帖数: 2744
24
来自主题: USANews版 - Trump就是一个business fraud
http://www.nytimes.com/2016/08/21/us/politics/donald-trump-debt.html?hp&action=click&pgtype=Homepage&clickSource=story-heading&module=first-column-region®ion=top-news&WT.nav=top-news
In Trump’s Empire, Hazy Ties and $650 Million in Debt
By SUSANNE CRAIG
A Times investigation into the financial maze of Donald J. Trump’s real
estate holdings in the United States reveals that companies he owns have at
least $650 million in debt.
That is nearly twice the amount apparent in his federal election fi... 阅读全帖
t*******a
发帖数: 4055
25
魔鬼的屠杀---美国拉斯维加斯枪击血案背后的震惊内幕
2017-10-09 10:24栏目:红德智库
浏览数:393次
作者简介:刘铁侠(Dennis Liu),美籍华人。长期从事美国政治、军事、金融的研究
和活动,著有巨作《魔鬼的奸计-911真相调查报告》一书,2006年香港轰动出版。並著
有《魔鬼的天空-馬航MH370調查報告》、《特朗普意外當選,還是美國的一場政變?》
、《美國總統選舉的幕後黑手》等精彩文章。作者在美国曾经开设源丰泰金融投资公司
,担任美国运通(American Express)公司资深投资顾问、华尔街大鳄摩根斯丹利(
Morgan Stanley)资深副总裁、美联投资公司(Wachovia) 资深副总裁等要职,对美国
影子政府的陰峙c騙局、国际政治中的黑箱作業,有独特的研究、见解、及深邃的剖析
。 作者邮箱:[email protected]
2017年10月1日发生在美国的赌城拉斯维加斯枪击血案,再次震惊了全世界。2
万2千多个歌迷汇聚在曼德拉海湾大赌场(Mandelay Bay Resort & Casino)对面500米
外的露天音... 阅读全帖
M*****r
发帖数: 1536
26
来自主题: Automobile版 - Avoid These 5 Used Cars (Plus 5 to Buy) (ZZ)
http://www.mitbbs.com/mitbbs_postdoc.php?board=Automobile&ftype=0
Avoid These 5 Used Cars (Plus 5 to Buy)
by Jerry Edgerton
Saturday, August 28, 2010
Used car shopping used to be a scary maze of breakdown-prone models, but
reliability has gained sharply. Auto manufacturing quality and dependability
studies have shown steady gains this decade. But exceptions do exist and if
you're in the market for a used car, you want to steer clear of them.
So CBS MoneyWatch.com has compiled a list of used cars
t**********3
发帖数: 12623
27
来自主题: Automobile版 - 圣诞节自驾横穿美国求建议
I've been to two of his restaurant, Maze the London in New York City and The
London in West Hollywood, both are fabulous, simplicity and perfection -
everything Gordon Ramsay is about.
Another place in Brooklyn worth your every breathe to get a table is Chef's
Table.

total
L*********e
发帖数: 36
28
搬家大甩卖——家具电器、幼儿玩具、婴儿推车、母婴用品、厨具及日用品等
家具电器类:
1、海尔小洗衣机(九成新,只洗一岁多宝宝的衣服) $80
2、高度可调转椅 $15
3、长沙滩椅两张(可平躺或各种角度) $15 或 $10/张
4、21吋Philips电视和pionee DVD播放机各一台 共$40
5、小台灯一盏 $5
玩具类:
1、小鼓系列 Discovery Kids Drum set $10
2、小运动毯(可卷成隧道或平铺在地上)$8
3、小推车 $10
4、串珠游戏 bead maze $8
5、Stroll arch $8
6、nestle stacker $5
7、take along tune $3
8、Chicco waler $20
9、basketball set $10
10、充气球用的氦气罐,还剩一半左右,$15 http://www.amazon.com/gp/product/B000RHMWBQ/ref=wms_ohs_product
婴儿推车:
Chicco Cortina Keyfit 30 travel system $130 (包括推车,ca... 阅读全帖
m****g
发帖数: 118
29
【 以下文字转载自 shopping 讨论区 】
发信人: mazing (明天会更好), 信区: shopping
标 题: ---求建议:国内好友结婚,送啥礼物好呢?---
发信站: BBS 未名空间站 (Sat Jun 5 11:14:06 2010, 美东)
国内好友马上要结婚了,想给她买个礼物寄回去.有什么好推荐的么?
另外,国内的弟弟也在筹办婚礼,到时我很可能没时间回去,也在头痛不知送他们什么好??
k*****6
发帖数: 71
30
我想卖的物品:
Leap Frog Leappad2 Disney Monsters University Varsity Edition Bundle X4
单张面值:
$129
可接受价格(必须明码标价!):
$85
物品新旧要求:
New
邮寄方式要求:
Your label
买卖双方谁承担邮寄损失(Required if not code only):
Seller
付款方式说明:
Quickpay, Billpay, Paypal
其他补充说明:
Kids will get into the MU spirit with a custom-designed LeapPad2 tablet, 7
wallpapers featuring wacky monster hijinks, an eye-mazingly tough, tear-
resistant gel skin, 2 scary-silly sticker sheets, a cleaning cloth for
eliminating smudges and paw prints, and a $20 Digi... 阅读全帖
D**********s
发帖数: 3139
31
来自主题: HiFi版 - 这个隔音坐垫怎么样
haha, he's concerned you will spend a couple of grands on things like
isolation spikes. Come on, when isolation is necessary, 20 dollars won't get
you into that maze.
i*****h
发帖数: 169
32
今天读到一片相关farm的文章,economist(july 11-17,2009) "Hedge-fun managers"
,提到关于英国farm的多种经营. 15% of farming incoming is diversified
enterprises. Some examples given in the article are maize maze, bed-and-
breakfast accommodation, wedding venues, and shooting ranges(real and
paintball). Sounds fun.
r****m
发帖数: 1204
33
来自主题: Investment版 - 给点建议吧
If your investment time horizon is long enough, you can consider putting the
money in low cost index funds. Index funds tend to be tax efficient as well.
Bonds generally is not a good place to be at this time, a laddered approach
sounds reasonable, but it will be complicated, though, maybe the bond club
can help you navigate the maze, they are the experts.
l******c
发帖数: 2555
34
来自主题: JobHunting版 - Microsoft 一道算法题
normal backtrack recursive, like maze problem
f****g
发帖数: 313
35
来自主题: JobHunting版 - Amazon 面经
电话面试
1st:
1. 讨论我的博士研究项目
2. 如果SNMP agent不能获取数据,或者获取的数据不符合预期,如何诊断该问题?
3。我做过的最有挑战的项目是什么?
4。用邮件写代码,然后讨论我写的代码:
unsigned char * get(int sizeOfArray, int sizeOfRecord);
void release(unsigned char* ptr);
该函数可以实现:
unsigned char ** array = get(5, 10);
snprintf( array[0], 10, “hello world\n”);
snprintf( array[1], 10, “hello again\n”);
5。Java的基本概念
2nd
1。Apache的log file如何找访问量最大的网页 (用linux shell写个小script)
2。如果某网站访问量突然增加,可能是什么情况发生,如何确定各种情况(1。暂时的
Popularity激增 2. DDOS Attack 3. 网站添加新的内容)
3。Java基本概念+设计扑克牌的类
4。读re... 阅读全帖
l*****v
发帖数: 498
36
来自主题: JobHunting版 - Amazon 面经
3。给一个maze:for example:4 0 5 6 1 0, 每个number代表最多可以走的步数,问
是否能从a[0]走到a[n-1];
这个没看懂,lz能不能详细说一下.是不是和以前汽车加油的问题相似啊?
谢谢
g**u
发帖数: 583
37
来自主题: JobHunting版 - Amazon 面经

用2个hashMap做?
第一个hashMap, < user_id, Arraylist of page_id>;
然后更新第二个hashMap, <(page_id1, page_id2,page_id3, user_id), count>.
eg.
A 1
A 2
A 3
A 4
在第一个hashmap中保存 < A, 1->2->3->4 >
在第二个hashmap中保存 <(A,1->2->3), 1 >
< (A,2->3->4), 1>
最后找对于每个用户访问最多的3连击就在第二个hashmap中遍历。
3。给一个maze:for example:4 0 5 6 1 0, 每个number代表最多可以走的步数,问
是否能从a[0]走到a[n-1];
马上想到的是backtracking, 不知道这个题可否用最大的单调递增序列求解?
f****g
发帖数: 313
38
来自主题: JobHunting版 - Amazon 面经
这道maze的题实际上就是一个reachability的问题。
我当时给的解法很简单:
S = {a0,a1,a2,...ai,...,an-1}
backtrace: 以an-1为起点,从右向左scan这个数组,找到一个可以到达an-1的点,再
以该点为目的
地,继续scan,直到能reach到起始点。O(n)的算法:D
j*****u
发帖数: 1133
39
来自主题: JobHunting版 - Amazon 面经
网页访问序列那个是典型的map reduce,2 round
maze那个可不可以这样:
bool HasPath(int[] array)
{
int max = 0; int len = array.Length;
for (int i = 0; i < len && i <= max; ++i)
{
max = Math.Max(max, i + array[i]);
if (max >= len - 1) return true;
}
return false;
}
g*****x
发帖数: 799
40
来自主题: JobHunting版 - Amazon 面经
// DP: f(n-1) = max{f(i)}, where i from n to n-1+a[n-1] and i bool maze(const vector &vec)
{
if(vec.size() < 2)
return true;
vector reach(vec.size(), false); // reachability of the nth pos to
the last pos
reach[reach.size() - 1] = true; // last position is always reachable to
itself
for(int i = reach.size() - 2; i >= 0; --i)
{
for(int j = i + 1; j <= i + vec[i] && j < reach.size(); ++j)
if(reach[j] == true)
{
... 阅读全帖
g*****x
发帖数: 799
41
来自主题: JobHunting版 - Amazon 面经
// DP: f(n-1) = max{f(i)}, where i from n to n-1+a[n-1] and i bool maze(const vector &vec)
{
if(vec.size() < 2)
return true;
vector reach(vec.size(), false); // reachability of the nth pos to
the last pos
reach[reach.size() - 1] = true; // last position is always reachable to
itself
for(int i = reach.size() - 2; i >= 0; --i)
{
for(int j = i + 1; j <= i + vec[i] && j < reach.size(); ++j)
if(reach[j] == true)
{
... 阅读全帖
i****c
发帖数: 102
42
来自主题: JobHunting版 - A面试题
some of them:
·given an array, each element is a string pair: the first string is a
parent node, and the second is a child node. construct a binary tree
·OO design: design a restaurant reservation system, tic-tac-toe and its
implementation
·how to evaluate search engine results (enum all metrics you can think of,
e.g., recall and click)
·synchronization of hashmap
·sorting integer (large range) with limit memory
·given a int array, check whether there is an element in array satisfying A
[i]=i, c... 阅读全帖
l*********r
发帖数: 674
43
来自主题: JobHunting版 - A面试题
given a maze, implement algorithm to find whether there are paths between
two locations
这个是用BFS吧。如果要print path,应该怎样save path最efficient呢?
y******n
发帖数: 47
44
来自主题: JobHunting版 - 面经+一点个人体会
周五面完最后一个onsite, 累的惨兮兮的, 好容易爬回家. 不管结果如何, 这段时间找
工作算是告一段落了.
下面把这段时间面试中被问到的题目整理一下, 供大家参考. 我也就不说具体是那些公
司了, 都是很典型的面试题, 到哪里都有可能会被问到.
* implement memcpy? How to improve? how to determine if a system is
32bit or 64bit?
* how is static keyword used in Java?
* a list of intervals, no overlapping and sorted, write a function to
insert an interval into the list and still keep the list sorted and no
overlapping.
* given a function on sorted dictionary to retrieve word by index,
string getWord(int i), how to i... 阅读全帖
S**I
发帖数: 15689
45
来自主题: JobHunting版 - [合集] 面经+一点个人体会
☆─────────────────────────────────────☆
yuhanlin (Yuhan) 于 (Mon Aug 29 00:18:17 2011, 美东) 提到:
周五面完最后一个onsite, 累的惨兮兮的, 好容易爬回家. 不管结果如何, 这段时间找
工作算是告一段落了.
下面把这段时间面试中被问到的题目整理一下, 供大家参考. 我也就不说具体是那些公
司了, 都是很典型的面试题, 到哪里都有可能会被问到.
* implement memcpy? How to improve? how to determine if a system is
32bit or 64bit?
* how is static keyword used in Java?
* a list of intervals, no overlapping and sorted, write a function to
insert an interval into the list and still keep the list sorted and no
overlapping.... 阅读全帖
i**********e
发帖数: 1145
46
来自主题: JobHunting版 - 说说你面过最难的算法coding题目
恩 很基本的 DFS + backtrack,四个方向轮流走,遇到障碍回溯。
生成 maze 在本科 CS data structure 的 final project,还算很有挑战性。
当时算是用到了 C++ 比较深奥的 OO-design,还有 union find 的算法,不过都还给老师了,真惭愧。
f*********5
发帖数: 576
47
来自主题: JobHunting版 - 这题咋做?
给一个maze:for example:4 0 5 6 1 0,
每个number代表最多可以走的步数,问是否能从a[0]走到a[n-1];
以前会过。。。
c*****l
发帖数: 20
48
来自主题: JobHunting版 - 这题咋做?
能稍加解释一下吗?
这个数组如何代表一个 maze?
w****o
发帖数: 2260
49
来自主题: JobHunting版 - 这题咋做?
这个maze是什么?是什么流行的游戏吗?
这个数组代表是什么?能讲一下吗?
到底这个题是在说什么?
谢谢!
s*******f
发帖数: 1114
50
来自主题: JobHunting版 - FB电面求分析 (转载)
//码遍本版
//need more boundary check and a wrapper function for interview.
namespace maze{
struct Info{
int idx;
};
int di[4][2] = {{1, 0}, {0, 1}, {-1, 0}, {0, -1}};
bool InRange(int row, int col, int xx, int yy){
return 0 <= xx && xx < row && 0 <= yy && yy < col;
}
template
void MazeRoute(int m[][col], int row, int x0, int y0, int x1, int y1){
//static Info *info = new Info[row * col];
static vector > path;
... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)