D*******e 发帖数: 12862 | 1 哦
那看来我这回还assume对了 :)
不过我下次还是得先问问,不能直接assume。。。
连小希望都一看见我是豆粉就先assume我是女生 :) |
|
r****r 发帖数: 1394 | 2 it's different, even though we assume that 100 times give us the "exact"
distrubution of shares.
why? thats the other post. for example, if you are chasing flush on turn and
assume you have 9 flush outs, and opponent has big pair to your cards. You
assume if you both go all in and you can get 9/46 of the pot. But this
calculation can be wrong:
if you have a partner who has folded two of your flush cards and you know it
, then your estimated chance is 7/44, which is about 20% lower than 9/46.
if ... 阅读全帖 |
|
g**s 发帖数: 1114 | 3 Someone did the following work in 2+2. Looks like there is a big gap between
FTP and PS. I am thinking to move to PS too...
http://forumserver.twoplustwo.com/28/internet-poker/ftp-black-card-thread-883862/index179.html
was doing some math, and i know others before me and even myself have
attempted this (the others not being me were probably right i just dont want
to read everything and if i have been taught to calculate FTP RB then i
will no longer need to be fed others peoples sandwiches):
SNE ... 阅读全帖 |
|
T*********k 发帖数: 1621 | 4 I think this is basic staff:
1. You direct odds are 150:275 = 1: 1.8, your clean outs are 12 which means
the odds hit on the turn is less than 1:3, bad business
2. Assuming you missed the turn, the pot is 425, assume SB move in for rest
of his 425, so you are getting 1:2 money on the turn, but your odds for
complete on the river is even less than 1:3, even worse business.
3. Assume you only call and there will be 2 ppl behind you, if they move in,
you have no control over the pot but only commit... 阅读全帖 |
|
d*****0 发帖数: 1500 | 5 I think this is basic staff:
1. You direct odds are 150:275 = 1: 1.8, your clean outs are 12 which means
the odds hit on the turn is less than 1:3, bad business
-- AK哥把对手定在了top range上,in real case,对手range越宽,hero的实际
equity就越高,所以,这里以1:1.8加上另外5倍的implied odds,继续看turn并不是绝
对的bad business,相反,因为位置和strength,这里的call或者是reshove会给对手
造成tough spot。当然,如果AK哥十分确定对手就是top range上的牌,那这里就是
exactly turn+river 1to2 underdog or <1to3 turn underdog,如果再次确定,对手
turn上出现scary card仍然没有fold equity,这里hero还是可以call flop,fold
blank ... 阅读全帖 |
|
t***y 发帖数: 182 | 6 source:
http://www.astrologyzone.com/forecasts/monthly/libra_full.php
ibra Horoscope for March 2012
By Susan Miller
You are in luck in March! It's a wonderful month, for Venus, your ruler,
will spend almost the whole month orbiting within a few tiny degrees of
Jupiter, the giver of gifts and luck. That is sure to bring you a shining
month, for almost all things important to you will go your way. Further,
there will be more shimmering aspects that will go far beyond this
exceptional pairing of tw... 阅读全帖 |
|
k****w 发帖数: 3753 | 7 Since we have in game clock now.
original link: http://us.battle.net/sc2/en/forum/topic/832174069
Hello all,
Something that can be difficult to deal with as a beginning player is
correctly reacting to the many different rushes and timing attacks in games.
Knowing these timings can be greatly helpful to your gameplay, and can also
improve your scouting.This is a list of many important timing pushes that a
Protoss player will encounter, organized. This is by no means a complete
list, though I have... 阅读全帖 |
|
l****o 发帖数: 5435 | 8 俺不年轻呀不年轻,先是被人assume 粉,又被assume 年轻。看来您也是assume一个年龄段的都得是一个观点呢 |
|
g***r 发帖数: 6820 | 9 不是统计,更不是牛人:
1。assuming normal, assuming 1.96=2 and alpha=0.05,assuming errorbar=+/-
2std, 答案仍是不一
定,因为还有correlation要考虑
2。不用 |
|
B****n 发帖数: 11290 | 10 assume positive intention 是基於你沒有太多資訊的情況下 沒有一個人能夠對另一
個人always assume his intention is positive 如果真是這樣credit就沒用了
但另外一方面 除非有什麼實質的證據 或是這個人的credit太差 我通常是assume
positive intention 這樣自己也會比較好過 不是嗎
疯? |
|
j***b 发帖数: 5901 | 11 You also wrongly emphasized the notion of logic here.
It's not about logic, it's about what assumptions we make. If you assume
that in reality a little girl can be perfectly neglected by everyone, then
the flightplan will be much more logical, just as if you assume scientists
can teleport a person, the prestige will be logical. So, it's about what we
assume. We all know these assumptions are not true. But when we watch movies
, we can let our reality check have a rest and allow these assumptions... 阅读全帖 |
|
s*****e 发帖数: 21415 | 12 呵呵,今天bloomberg上看的:
Study This to See Whether Harvard Pays Off:
Laurence Kotlikoff
March 9 (Bloomberg) -- The notion that education pays and that better
education pays better is taken for granted by almost everyone. For college
professors like me, this is a very convenient idea, providing a high and
growing demand for our services.
Unfortunately, the facts seem to disagree. A recent study by economists
Stacy Dale and Alan Krueger showed that going to more selective colleges and
universities makes... 阅读全帖 |
|
|
t***e 发帖数: 2138 | 14 The boring explanation Here follow some technical explanations: First of all
, my deepest apologies to those not familiar with mathematicsor physics…
But the conclusions are very interesting…. (see at the end) I did some
serious thinking to understand the rule of thumb of using a shutter speed
equal to the inverse of the focal distance. Here are the results: first some
(half-serious) maths: Let's start with the basic definitions and
assumptions: To simplify the calculations, we assume we can mod... 阅读全帖 |
|
j***b 发帖数: 5901 | 15 People should know one thing: Benefit of doubt.
Don't be too judgmental when all you have are assumptions.
Those bashing Liu are mostly on assumptions.
They assume that Liu was trying to pretend 13.
They assume that Liu intentionally spoke English, then intentionally say
sorry.
They assume that Liu didn't understand heroic couplet.
When all your points are based on assumption, they are pretty much worthless
.
Even without knowing that heroic couplet is well known to western people, I still didn'... 阅读全帖 |
|
r*****t 发帖数: 7278 | 16 》把Fed的一个价值1千万的软件下载回家
》http://finance.yahoo.com/news/man-charged-stealing-software-ny-
Zhang told investigators he took the code "for private use and in order to
ensure that it was available to him in the event that he lost his job," the
complaint said.
人蠢不能这样的蠢吧?
要么不说,和律师商量好了说。商量也不要直接商量,要一步一步的自己问清楚各种说
辞的后果以后自己选一个最适合自己的说辞。
要么就说是copy出错了
自己accidently 不知道怎么回事就copy了。
其实是自己要copy自己的resume的。结果不小心手一抖,啪嗒,copy到了这个file。
这样最多是很轻微的,不应该带 flash drive 进公司。
反正本来有千万种变化的,结果一把,自己被套住了。
另外就说是自己刚参加这个项目,不熟悉,老板亚历山大,自己是co... 阅读全帖 |
|
t******n 发帖数: 2939 | 17 ☆─────────────────────────────────────☆
savanna2008 (冷眼看世界) 于 (Wed Jan 18 15:03:40 2012, 美东) 提到:
刘本身的问题和张本身的问题我就不讨论了。都有问题。
本来我也觉的英雄双行体是刘在卖弄。我就是学英语言文学的我都不知道。昨天我问了
一个很不爱读书的美国人知道英雄双行体吗,他一口答,知道,不但知道还很熟!然后
他说莎翁文学是美国高中主要的课程,估计跟我们中国人了解对仗押韵一样。我查了英
雄双行体的解释,又读了点相关诗歌。看来这个双行体根本就是基础教育层次。读过美
国高中的都知道。刘卖弄的可能性几乎是不可能的。张邵刚白激动了。
☆─────────────────────────────────────☆
ltsukida (梦夜晨星) 于 (Wed Jan 18 15:05:41 2012, 美东) 提到:
哦,re一个
☆─────────────────────────────────────☆
urbanhunter (纵横四海) 于 (Wed Jan 18 1... 阅读全帖 |
|
a*****c 发帖数: 3525 | 18 【 以下文字转载自 Military 讨论区 】
发信人: agostic (π-packing), 信区: Military
标 题: (中英文)原子弹下无冤魂:B29飞行员查尔斯•斯韦尼将军1995国会演讲
发信站: BBS 未名空间站 (Wed Aug 15 20:13:42 2012, 美东)
只有记忆才能带来真正的原谅,而遗忘就可能冒重复历史的危险。
One can only forgive by remembering. And to forget, is to risk repeating
history.
学英文是为了更好地了解历史。文章很长,有兴趣学英语同时了解历史的同学,希望耐
心地看完(也可以拷贝下来仔细研读)。不仅仅是学英语,更重要的是学如何写作,如
何摆事实,讲道理,反驳质疑。可以学的东西(中英文)原子弹下无冤魂:B29飞行员查
尔斯•斯韦尼将军1995国会演讲很多,就看你是否能够用心去领悟。这是一篇难
得的informative/historical/linguastic article. Enjoy and welcome to ... 阅读全帖 |
|
w***a 发帖数: 432 | 19
you
Do not assume your co-workers are your friends.
Do not assume your boss is your friend.
Do not assume you are a nice person and are their friends. |
|
t**i 发帖数: 688 | 20 重新整理一下:
Assuming all the facts were true;
Assume this phenotype is Mendelian and determined by an autosomal single
locus.
Assuming HWE.
Denote p = population allele frequency of Double-eyelids, q = 1 - p =
population allele frequency of single eyelid.
Then we have
Pr(Mother is hybrid) = 1;
Pr(GaoShuaiFu is pure recessive) = 1;
Pr(Father is hybrid) = 2pq, Pr(Father is pure Double-eyelid) = p*p
Then Pr(kid is Single-eyelid | Father is hybrid) = 1/4
Pr(kid is Single-eyelid | Father is pure Double)... 阅读全帖 |
|
l**h 发帖数: 8270 | 21 如果别人在第一次ASSUME你是直女的时候,你没有站出来反驳,那人家当然是觉得你默
认了,然后以后的每一次都直接ASSUME你是直的了呀。
你如果不喜欢人家ASSUME你是直的,那必要的时候还是要跟同事出柜的呀。 |
|
g******5 发帖数: 414 | 22 现代生活大龄未婚太常见了,尤其是美国,一不小心到个大农村生活就完了。
为什么非要诋毁大龄未婚男?assume人家就是玩,穷,丑,搓?其实都是普通人家孩子
,只是没在合适的时候遇到合适的人罢了,加上理想主义比较坚持内心。
至于离婚有孩男,起码证明上半生已经错了。怎么你觉得反而证明l优秀?不是有个女
人嫁就说明优秀,只说明选择门槛放得比较低罢了。
我不要别人的孩子,只要自己的,生不了就不要。男性不能接受不应征就是了,何必非
要我接受你们的想法。你们这些想法在我看来都是蛮奇葩的,把女性地位放太低了,必
须围着男人的生理需求和心理需求,思想非常老派。assume男性要小孩就立马有女人给
生,assume男性约炮就立马有女人上当现身。好像女人是玩偶,你要几个有几个,要怎
么玩就能怎么玩,太一厢情愿了 |
|
g******5 发帖数: 414 | 23 现代生活大龄未婚太常见了,尤其是美国,一不小心到个大农村生活就完了。
为什么非要诋毁大龄未婚男?assume人家就是玩,穷,丑,搓?其实都是普通人家孩子
,只是没在合适的时候遇到合适的人罢了,加上理想主义比较坚持内心。
至于离婚有孩男,起码证明上半生已经错了。怎么你觉得反而证明l优秀?不是有个女
人嫁就说明优秀,只说明选择门槛放得比较低罢了。
我不要别人的孩子,只要自己的,生不了就不要。男性不能接受不应征就是了,何必非
要我接受你们的想法。你们这些想法在我看来都是蛮奇葩的,把女性地位放太低了,必
须围着男人的生理需求和心理需求,思想非常老派。assume男性要小孩就立马有女人给
生,assume男性约炮就立马有女人上当现身。好像女人是玩偶,你要几个有几个,要怎
么玩就能怎么玩,太一厢情愿了 |
|
x****u 发帖数: 12955 | 24
His assumptions were:
1. When a civilization has reached the point of able to detect and
communicate with other alien civilizations, it would have already obtained
the capability to destroy any star system and this capability could not be
defended.
2. Communication between civilization takes just as long if not longer than
sending out the weapon to destroy their star system.
3. There exists some aggressive civilizations which would choose to destroy
any potentially threatening alien civilizatio... 阅读全帖 |
|
L****o 发帖数: 1642 | 25 每年四月是National Poetry Month, 是由The Academy of American Poets于1996年
发起的。在这个月,全国各地会有很多图书馆、学校及其他机构举办诗歌讲座、朗诵等
活动,比如我见过我们这儿当地公共图书馆就有诗人开过介绍聂鲁达和其他诗人作品的
讲座。poets.org上有更多信息。
我们这儿的当地报纸上也有一些关于诗的文章。下面这篇是个诗人和文学教授写的教普
通读者如何阅读理解诗歌的文章,在昨天的报纸上,挺有意思的。
摘要一下:没有必要对诗有一种本能的排斥,不要预先假定自己读不懂诗。诗人可能会
用一些看似荒唐无理的语言,来促使读者用不同的眼光看世界。如果一首诗一读就全懂
,没有任何神秘性,不能促人思考,也不一定就好。诗要慢慢读,多读几遍,即使第一
遍没读懂,并不意味着这是首烂诗,真正好的诗,每读一遍,就会给人更多理解,更多
发现,意味无穷。
Understanding Poetry
By Joseph Campana
Houston Chronicle, April 25, 2012
I'm not sure I understand the... 阅读全帖 |
|
D*****r 发帖数: 6791 | 26 The assumption of random direction in mutation is certainly weaker because
it is very specific and does not contain the almighty-god assumption.
On the other hand, the almighty-god assumption is super strong because it
contains everything including the direction-in-mutation assumption.
When you don't know the direction in mutation, assuming it is random is the
default and it is proved by genetic experiments. Assuming it has a direction
is assuming a lot more and needs a lot more proof.
It is str... 阅读全帖 |
|
l**********t 发帖数: 5754 | 27 don't quote my post out of context.
I agree that conditional on a particular environment/state, selection is "
survival of the fittest" (the natural selection), following biological laws
. But how to get to a particular environment/state, Darwin's theory doesn't
give a tractable/predictable law. Thus it is only used to explain the "
survival of the fittest" after the fact.
That's why Darwin's theory
a) assumes mutation is random and thus can't predict what's going to happen
in mutation, and
b) ... 阅读全帖 |
|
E*****m 发帖数: 25615 | 28 這個其實也是老問題了,都已經整理編號了
http://www.talkorigins.org/indexcc/CB/CB010.html
Claim CB010:
The proteins necessary for life are very complex. The odds of even one
simple protein molecule forming by chance are 1 in 10113, and thousands of
different proteins are needed to form life. (See also Primitive cells
arising by chance.)
Source:
Watchtower Bible and Tract Society. 1985. Life--How Did It Get Here?
Brooklyn, NY, pg. 44.
Response:
The calculation of odds assumes that the protein molecule formed by
c... 阅读全帖 |
|
B******y 发帖数: 2255 | 29 回下这个。
Response:
1.The calculation of odds assumes that the protein molecule formed by chance
. However, biochemistry is not chance, making the calculated odds
meaningless. Biochemistry produces complex products, and the products
themselves interact in complex ways. For example, complex organic molecules
are observed to form in the conditions that exist in space, and it is
possible that they played a role in the formation of the first life (Spotts
2001).
是啊,任何一个100个氨基酸的长链都是极为复杂的complex product, ... 阅读全帖 |
|
y**l 发帖数: 714 | 30 No. Darwin's theory does not assume a "random" cause. Darwin's theory does
not assume any cause. It's simply a theory that explains the process, not
one that explains or intends to explain the root cause. Some Neo-Darwinism
may assume a random cause, but we need to remember it's just a branch of the
evolutionary theory.
takes |
|
l**********t 发帖数: 5754 | 31
Because I assume you are a rational human being, so although I don't know
exactly what motivates you, I assume the existence of these motives that
drive you to spend so much time at this forum with anti-Christian,
misleading messages. Maybe you could prove me wrong assuming your behavior
at this forum is rational. |
|
J*******g 发帖数: 8775 | 32 什么苦难都是上帝导致的?
反基的观点是如果上帝存在,那么这个世界必然是没有痛苦的,对吧?
既然现在有痛苦,那么上帝必然不存在,对么?
这个逻辑的前提是:上帝会毫无原则的为人类去除一切痛苦。
基督徒相信在亚当吃禁果前,人类是没有这种生离死别的苦难的。但是自从亚当吃了禁
果,痛苦就来到了这个世界。这是人自己选择了作恶导致的。
基督教的上帝是统治宇宙的,但是基督徒之间对上帝是如何统治的也有分歧。有人认为
上帝是一切事情的直接原因甚至说上帝创造了911。有人认为上帝几乎不闻不问。大多
数基督徒是认为上帝对某些事进行干预,某些事不干预。至于上帝管那些不管那些,只
有上帝自己知道,上帝有自己的计划,我们无法完全了解。
虽然我们无法完全了解上帝,但是我们相信圣经中对人们的启示是真的。
你引的那个网站的上帝的标准模型不是基督教的上帝。
People believe that God instills in each of us a unique and everlasting soul.
这条不是公认的。很多人认为灵魂是可以灭亡的。
People believe that we have eterna... 阅读全帖 |
|
j*******7 发帖数: 6300 | 33 Is Logic an Absolute?
by
Roger Smalling, D.Min
There exists a small category of realities termed primordial. These require
no proof of existence beyond themselves. Time and space are good examples.
Empty space would exist even if nothing else did. We need not try to prove
or explain them. They just are.
Time is another example of a primordial reality. If we define time as the
relative rate of change between material objects, then it follows that time
could not exist without matter. Or, that the ... 阅读全帖 |
|
l*****a 发帖数: 38403 | 34 数据网上很多,自己找呗, 至于希特勒是基督徒的证据就更多了,给大师摘几段他自己
的话,请大师自己慢慢欣赏, 我奏先不奉陪了
“The anti-Semitism of the new movement (Christian Social movement)
was based on religious ideas instead of racial knowledge.”
[Adolf Hitler, "Mein Kampf", Vol. 1, Chapter 3]
“I believe today that I am acting in the sense of the Almighty
Creator. By warding off the Jews I am fighting for the Lord’s work.”
[Adolph Hitler, Speech, Reichstag, 1936]
“I have followed [the Church] in giving our party program the
character of unalterable fina... 阅读全帖 |
|
T*******y 发帖数: 6523 | 35 As a follow-up to that notion to be completely honest, it belongs to that
realm of should's.
One may consciously or unconsciously assume how s/he should behave to be
accepted, to please others, to assume responsibilities, or how important his
/her job/duty is, so that s/he denies his/her own heart's desires, under
lots of pain. What they don't realize is that they can both be happy with
themselves and helping others as best as they can. One does not have to
suffer in the duties that s/he does no... 阅读全帖 |
|
G**W 发帖数: 1865 | 36 Assume if I told you that I have already verified it, would you beleive what
I say ?
This is something very funny about what you say here : You can't verified
things yourself
and you assume nobody can verified anything. Isn't that pretty stupid ?
You can't read and you assume nobody can read in the world ?
Anyhow, I do not want to argue with you. All I am saying is |
|
c****i 发帖数: 2635 | 37 感觉幸福就是有人照顾自己。。。 爱情就是被照顾后会想着折腾人家。。。
//blushing~```
今天阴差阳错地被一个印度MM拉到佛庙里去了。。。 听着梵音想着菩萨普度众生的宽
宏和金刚怒目的霹雳~``
忽然觉得派克博士的那些拿来搞团队还可以,要是感情生活也这么折腾,直接出家接受
供奉就成了,不需要沐浴人间烟火了~~` :">
ref: 附上一段,供童鞋们修行。。。
-----------------wiki--------------------
Theories
[edit] Discipline
In The Road Less Traveled,[6] Peck talked of the importance of discipline.
He described four aspects of discipline:
* Delaying gratification: Sacrificing present comfort for future gains.
* Acceptance of responsibility: Accepting respons... 阅读全帖 |
|
w********2 发帖数: 16371 | 38 this morning
Merrill Lynch’s Scott Craig raised his price target to $770 from $720,
Oppenheimer & Co.’s Ittai Kidron raised his price target to $800 from $680.
Toni Sacconaghi, Bernstein Research: Reiterates an Outperform on Apple stock
and a $750 price target. “We believe this is unambiguously negative for
Google and the Android ecosystem as it provides further evidence that
Android as well as design choices made by its OEM-users infringe on a number
of 3rd party patents, including Apple’s. The... 阅读全帖 |
|
t****t 发帖数: 6806 | 39 intrusive ahead. you have to assume something -- what if the container doesn
't have begin(), end()?
if you can assume begin()/end(), you can also assume ::value_type. otherwise
, just accept 2 iterators instead, like what real STL do.
type? |
|
h****r 发帖数: 2056 | 40 简单的说,10 gigabits/second和10 million packets/second只取一个就行了,
那这两个里面显然是该是10 gigabits/second。
实际应用之间packet的size区别可以非常大,Assuming 1k per packet是没有实际工作
经验的提法,无意义地简化一个具有通用性的问题,POC确实是容易做了,paper也容易
写了,但是于build on top的application的参考价值就小了至少几个级数。
我如果有一点点insight的话,就是我处理distributed logging的时候碰到过这种问题
,Assuming和不Assuming之间的复杂度差异之大,确实不是一开始能想象的。
但是一个通用的应用,卖到千千万万的客户那里去,必须能处理有差异的情况。 |
|
h****r 发帖数: 2056 | 41 简单的说,10 gigabits/second和10 million packets/second只取一个就行了,
那这两个里面显然是该是10 gigabits/second。
实际应用之间packet的size区别可以非常大,Assuming 1k per packet是没有实际工作
经验的提法,无意义地简化一个具有通用性的问题,POC确实是容易做了,paper也容易
写了,但是于build on top的application的参考价值就小了至少几个级数。
我如果有一点点insight的话,就是我处理distributed logging的时候碰到过这种问题
,Assuming和不Assuming之间的复杂度差异之大,确实不是一开始能想象的。
但是一个通用的应用,卖到千千万万的客户那里去,必须能处理有差异的情况。 |
|
C*****n 发帖数: 1049 | 42 来自主题: Programming版 - 出道面试题 这道题我在snapchat onsite的时候也遇到了,以前没见过,当时只给出了dfs的解。
现在给出dfs和dp的解,可能有bug,没做深度测试。
#include
#include
using namespace std;
//basically we can use a dfs to solve the problem
bool jumpDfs(vector & stone_pos, int pos, int speed) {
int n=stone_pos.size();
if(pos==n-1) return true;
if(!stone_pos[pos] || pos>=n || speed<1) return false;
for(int s=speed-1; s<=speed+1; ++s) {
if(jumpDfs(stone_pos,pos+s,s)) return true;
}
return false;
}
//assume init_spee... 阅读全帖 |
|
t********e 发帖数: 1169 | 43 【 以下文字转载自 JobHunting 讨论区 】
发信人: mitbbs59 (bEQi), 信区: JobHunting
标 题: 本版1年以内的所有 面经题目,含帖子link [为大家方便]
发信站: BBS 未名空间站 (Fri Jan 29 14:20:44 2010, 美东)
不敢保证全部涵盖,大部分的都在。
我自己找了一遍,大家一起用着都方便。
不过只是含有题目的帖子 我才包含进来了,只分享经验没贴题目的 我都没有包含
进来。
大家复习着方便。
1. 一个sorted interger Array[1...N], 已知范围 1...N+1. 已知一个数字missing。
找该数字。
把原题改为unsorted,找missing数字。 performance。
2. 复制linked list。 已知每个节点有两个pointer,一个指向后一个节点,另一个指向
其他任意一节点。 O(n)时间内,无附加内存,复制该linked list。(存储不连续)
3. 一个party N个人,如果一个人不认识任何其他人,又被任何其他人认识,此人为
celeb... 阅读全帖 |
|
t********e 发帖数: 1169 | 44 【 以下文字转载自 JobHunting 讨论区 】
发信人: mitbbs59 (bEQi), 信区: JobHunting
标 题: 本版1年以内的所有 面经题目,含帖子link [为大家方便]
发信站: BBS 未名空间站 (Fri Jan 29 14:20:44 2010, 美东)
不敢保证全部涵盖,大部分的都在。
我自己找了一遍,大家一起用着都方便。
不过只是含有题目的帖子 我才包含进来了,只分享经验没贴题目的 我都没有包含
进来。
大家复习着方便。
1. 一个sorted interger Array[1...N], 已知范围 1...N+1. 已知一个数字missing。
找该数字。
把原题改为unsorted,找missing数字。 performance。
2. 复制linked list。 已知每个节点有两个pointer,一个指向后一个节点,另一个指向
其他任意一节点。 O(n)时间内,无附加内存,复制该linked list。(存储不连续)
3. 一个party N个人,如果一个人不认识任何其他人,又被任何其他人认识,此人为
celeb... 阅读全帖 |
|