由买买提看人间百态

topics

全部话题 - 话题: simplify
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
d*********6
发帖数: 1972
1
来自主题: Faculty版 - 关于招收博士生
不好意思我没说清楚,我说的GPA高就是指的是QM, EM, Statistics, 数理方法等等这
些课程分数高。因为做理论物理很多时候就是把一个经典的model加上一些其他的内容
。而这几门核心课就是在解一些经典的model.所以要看具体的课程而不是一个GPA数字
。实验用到的一般都是非常simplified model, 需要用复杂的model就会和理论组合作
了。我是表达这个意思。

种。
H****y
发帖数: 2992
2
Interview with Mr. T'Challa Shabach
By Fiona Rawsontile, Aug 2016
Since I met Mr. Shabach, my opinions toward Black Americans have changed a
lot. He is always thinking. He actively learns new things, follows the news,
and discusses with others what he envisions as the better ways to solve the
problems around us.
Fiona: Mr. Shabach, I just found out that you had spent several years
mentoring youth when you attended college in Washington DC. Could you tell
u... 阅读全帖
A*****e
发帖数: 64
3
来自主题: Faculty版 - solve (x+4)(x-5) = 0
I am proctoring an exam now. When making the exam, I was trying to simplify
the calculations rather focusing on the conceptual understanding. So, one
of the questions has such a step - solve (x+4)(x-5) = 0. I just saw a
student spent a quite long time to do this :
(x+4)(x-5) = x^2-5x+4x -20 = x^2-x-20 = 0, then x = (1+/-sqrt(1-4*(-20)))/2
= -4 and 5.
This is actually not bad. Very frequently I see some silly mistakes like
exp(-t) + exp(-4t) = exp(-5t). Should I laugh or feel sad? When I firs... 阅读全帖
y****z
发帖数: 92
4
来自主题: Faculty版 - solve (x+4)(x-5) = 0
我来讲个故事让你好受些。N年前我当过大一有机化学实验课的TA.有次课是测化合物的
熔点。我告诉学生要测两遍然后取平均值。有个学生的两次数据分别是59度和61度。
我跟她说你把平均值填到实验报告上。她立刻掏出计算器演算。我说你别算了,平均值
应该是60度。她不相信,继续按计算器。当她终于得到了60度,她瞪大眼睛对我说: "
How did you know?"........
Do you feel better now?

simplify
2
upset
B*********e
发帖数: 86
5
([email protected]/* */)
http://www.mitbbs.com/article_t/Faculty/31892683.html
([email protected]/* */ ~ [email protected]/* */)
山不在高 。。。。 。。。。 。。。。 。。。。。。。。
([email protected]/* */)
yihe86 (王小骆) 同学/老师,你说的‘。。。三天的行程,一天半的面试,小学校真
是实诚啊,领导几乎全上了。。。’这样的这么一个安排,想了一下(oh yeah, 想了一
下~~,如果i can… … ..)。。。,觉得(eh,觉得??~~… if … … ..)。。。,好
像如果从书本上面的。。。。。。来说。。。。。。,譬如说《三国演义》的话,可能
有两。。。能(相对来说(??)可能算是比较极端的情况什么的??~~。。。@@_@@.
.. … ..)。。。??~~。。。@@_@@... … ..:
例1)《三国演义》里面的。。。诸葛亮 (老师/同学... 阅读全帖
B*********e
发帖数: 86
6
来自主题: Faculty版 - offer 选择求助
http://www.mitbbs.com/article_t/Faculty/31899013.html
([email protected])
jijiijij (victor) 同学/老师,
对不起,回的有点儿晚。。。:((。。。555。。。
垃圾俺不是大婶,欧不,垃圾俺不是大神,也不是路过的,最近三天两头在这儿潜水~~
。。。:))… … ..
俺好象是2017-06-19那天早上看到你的帖子的。。。 ([email protected])
([email protected])
下面是俺的一点儿看法啥的,好像和LoveinGod (LoveinGod)老师/同学的看法有点儿不
一样,心情紧张ing。。。:((。。。555。。。-------俺生在鼠年属鼠(敬请老鼠
们的天敌杀手aixiaoxiaoyu (我爱小小鱼) 老师/同学 退散退散~~保证安全保持距离保
佑安全距离啊~~。。。@@[email protected]@。。。:((。。。555… … ..),希望LoveinGod (
LoveinGod)老师/同学看在俺的属相和L... 阅读全帖
B*********e
发帖数: 86
7
来自主题: Faculty版 - 两个Offer选择求建议
([email protected])
回帖_BiggeyIssue_to kfc666 (666) et [email protected]
[email protected]
([email protected])
([email protected])
kfc666 (666) 老师/同学,
对不起,回帖晚了。。。@@[email protected]@。。。:((。。。555… … ..
内天(2018-01-27)看到你的第一个帖子:
http://www.mitbbs.com/article_t/Faculty/31923939.html
Offer选择求建议 - 未名空间(mitbbs.com)Offer选择求建议_-_未名空间(mitbbs.com)
_-_2018-02-06_21.29.36__发考题][首篇作者:kfc666] , 2018年01月27日090032_手
机@2018-01-27_sa__kfc666 () et al
想到了一些。。。,然后不知道怎么搞得,心说好像可以可能能够能。。。问你... 阅读全帖
c****t
发帖数: 156
8
"我的乳房痛,我好希望你关心我"
This is a great simplified version of what I suggested in 5 lines.
I really want them to get the difference bewteen saying:
"我的乳房痛,我好希望你关心我"
and "我的乳房痛,I notice that YOU didn't notice and didn't care. YOU didn't
..."
....
What they should try to get is the understanding from the other party, which
is impossible to get through a long list of questions and blames on the
other party's actions or thoughts.
I am also glad that it is seems this time few people were really mean and we
... 阅读全帖
h*******1
发帖数: 4830
9
key words: simplify
N*********6
发帖数: 2302
10
来自主题: Family版 - 有关给个人捐款的管理条例
Fundraising for an Individual
This advisory summarizes the major issues involved with fundraising for an
individual. It is not meant to be a substitute for legal counsel but, rather
, an introduction to the issues you will need to think about. The Attorney
General's Office (AGO) is not authorized to provide legal representation to
individuals: you should consider consulting a private attorney regarding
fundraising for an individual.
A "donor" is someone who donates or gives money or property to ... 阅读全帖
a*******g
发帖数: 71
11
Guides you step-by-step through investments and rental property
income
•Assists with stocks, bonds, mutual funds and employee stock plans
•Maximizes investment-related deductions
•Cost Basis Lookup quickly tracks and calculates historical cost basis
•Provides additional guidance for rental property income, expenses and
refinancing
•Automatically calculates capital gains/losses and keeps track of
those to carry over to future tax returns
•Simplifies reporting a... 阅读全帖
y***g
发帖数: 1375
12
Asus ET2220IUTI-05 all-in-one computer
1. 3rd Gen Intel® Core™ i3-3220 processor, 3MB L3 cache and 2.
8GHz
2. 21.5" LED-backlit high-definition widescreen touch-screen display with
1920 x 1080 resolution
3. A wired keyboard and mouse allow simplified use.
4. 4GB DDR3 memory
5. Multiformat DVD±RW/CD-RW drive
6. 1TB Serial ATA III hard drive (7200 rpm)
7. Intel® HD Graphics 2500
8. Windows 8 64-bit operating system preinstalled
ask for $650
from MA
pm pls
w********8
发帖数: 1
13
来自主题: FleaMarket版 - office 2010 professional
PRODUCT DESCRIPTION
You are bidding on a MICROSOFT OFFICE PROFESSIONAL 2010 FULL RETAIL NEW
Original Retail Price: $499.95
WHAT'S INCLUDED IN AUCTION
Includes the 2010 versions of Publisher, Excel, Outlook, OneNote, PowerPoint
, Access, and Word
Delivery Time
• Please allow for 6 to 10 business days(not counting weekends) for
it to arrive.
• We only have one delivery option (no Fedex shipping options).
• Item is new and never opened.
• It is delivered directly... 阅读全帖
j*******n
发帖数: 2205
14
来自主题: FleaMarket版 - [出售] 3X Dell V7140PRO-4655BLK @ 402
Dell V7140PRO-4655BLK - Venue 11 Pro 10.8" - Intel Core M - 64GB - with
Keyboard - Black
Boost your on-the-go productivity with this Dell Venue 11 Pro tablet, which
features Wi-Fi for easy Web access and a 64GB capacity that provides space
for important files. The 10.8" capacitive touch screen simplifies use and
offers crisp images.
Windows 8.1 64-bit
10.8" high-definition 10-point capacitive touch screen with 1920 x 1080
resolution
64GB storage capacity
Dual-core processor Intel® Core®... 阅读全帖
j*******n
发帖数: 2205
15
来自主题: FleaMarket版 - [出售] 3X Dell V7140PRO-4655BLK @ 402
Dell V7140PRO-4655BLK - Venue 11 Pro 10.8" - Intel Core M - 64GB - with
Keyboard - Black
Boost your on-the-go productivity with this Dell Venue 11 Pro tablet, which
features Wi-Fi for easy Web access and a 64GB capacity that provides space
for important files. The 10.8" capacitive touch screen simplifies use and
offers crisp images.
Windows 8.1 64-bit
10.8" high-definition 10-point capacitive touch screen with 1920 x 1080
resolution
64GB storage capacity
Dual-core processor Intel® Core®... 阅读全帖
f********5
发帖数: 28
16
全新, 包邮, BOA 或paypal, 不退
10/100/1000Mbps Ethernet port to connect with router or computer
DOCSIS 3.0 certified, capable of up to 172 Mbps and upload speeds up to 131
Mbps based on Cable Internet Service Provider
Requires Cable Internet Service. Compatible with major U.S. Cable Providers.
Contact your ISP to confirm compatibility
Supports IPv4 and IPv6 networking, as well as Windows, Mac, and Linux
computers
Front-panel LEDs indicate status and simplify troubleshooting
c**i
发帖数: 6973
17
来自主题: Food版 - Panda Express
No, that dish 茄子烧豆腐 is from China. Chinese mainland. But I do not know where in the mainland, because after 1949 there are so many immigrants from various provinces (prior to that it is easy--they were from Fujian or Norther Guangdong (the latter being Hakka 客家[1]).
[1] Ethnic composition of people in Taiwan nowadays: Hoklo (福佬 or 河洛 in
Chinese characters) 70%, Hakka 14%, 外省人 14% and aborigines 2%.
In Japan, there are well known Chinese dishes (in US and Japan, Japanese
food stores carry spice p... 阅读全帖
o****e
发帖数: 916
18
来自主题: HiFi版 - 礼光后羿一问
以下步骤设置system locale:
vista, windows7:
运行“region and language”
选中administrative页(最后一页)
在页面下方,选择change system locale,试一下Chinese(Simplified, RPC),修改后
要重新启动机器。
windows xp:
打开控制面板,打开regional and language options
选择Advanced页
在下拉菜单里选择Chinese(PRC)
然后重启机器。
D**********s
发帖数: 3139
19
来自主题: HiFi版 - 能推荐一个$400左右的DAC么
音量控制对音质的影响,以前有一篇note写得不错,我找了半天才找到,其实还有用变
压器的方法,不过dac这块最保真的方法就是保持位深和标准输出电平,音量控制交给
前级和功放去管就好了,终究绕不过模拟放大这一关的。
Volume Control Technologies
Newsletter Edition:
July 2009 Issue
With the introduction of Benchmark’s HDR-VC™ (High Dynamic Range
Volume Control), many audio enthusiasts are taking another look at volume
control methods. What are the differences between the different volume
control topologies? Is one sonically superior, and why?
The important qualities to consider with respect to volum... 阅读全帖
c***m
发帖数: 104
20
Costco的家庭影院音响如何?
http://t.costco.com/Bose®-Network-ready-5.1-Home-Theater-P
Bose® Network-ready 5.1 Home Theater Package with Bluetooth®
Connectivity
Experience high-quality five-speaker surround sound from your high-
definition video and audio sources with the Bose® network-ready 5.1
home theater package with Bluetooth® connectivity. It includes the Bose
Acoustimass® 10 Series IV speaker system, Pioneer® VSX-1022-K 3D
and network-ready AV receiver and Pioneer&... 阅读全帖
K****D
发帖数: 30533
21
来自主题: Investment版 - 关于09年inflation,真诚求教,办法。
I agree with your first paragraph. So the only conflict is the percentage
of chance estimate now.
The 2nd paragraph: for those things that will be gone forever, their
value has already been, or will be, reflected by their prices. Panda
maybe already costs 1 million a piece?
Global warming effect will be reflected in tree prices (and sth else
like gas taxes. I will only use tree prices to simplify my point).
Trees are still cheap these days, indicating global warming is a
non-issue (to the extent
s*******d
发帖数: 126
22
来自主题: Investment版 - frequent-trade vs. tax deferred investement
KennyD;
You mentioned in one of the post earlier that you prefer to have an
investement vehicle that would allow you to make frequent trades in order to
benefit from short term capital gains. I think this all boils down to the
amount of capital gain taxes you would have to pay. Here is another
simplified calculation/comparison.
If you start again with 10,000 dollars pre-tax investement dollars in a
traditional IRA account, and you have 8% annual return, with 5% comes
from growth and 3% from divi
g********t
发帖数: 168
23
来自主题: Investment版 - Schwab reduced index fund expenses(zz)
Now investing in Schwab Funds gets you more for your money
We’ve taken significant steps to reduce expenses and simplify the share
classes in our Schwab Equity Index Funds:
Schwab Equity Index Funds now have lower expenses. We’ve reduced fund
operating expenses, making Schwab Equity Index Funds some of the lowest-
cost index funds you can find anywhere. Our S&P 500 Index Fund, for
example, has an expense ratio of just 0.09%, well below the industry
average.
Every investor gets our lowest fund ex
l**********t
发帖数: 5754
24
which is the lesser of two evils... a simplified allocation product designed
for college saving vs. an ad hoc portfolio overloaded with the "hot" asset
classes w/o sufficient balance of return & risk? If you are an active &
capable investor, you shall (or hire someone to) manage your asset
allocation dynamically overtime. Otherwise, a 529 fund is a better choice.
K****D
发帖数: 30533
25
来自主题: Investment版 - 请帮忙看看这种情况怎么投401K
But I personally don't like conclusions made based on simplified
studies, because any missing aspect may cause the conclusion to be
completely different.
In mere 15 minutes you've already changed your conclusions a couple of
times...
l**********t
发帖数: 5754
26
来自主题: Investment版 - 为什么target funds不好
target date funds are simplified asset allocation strategies for retirement
saving, ideal for those who don't have the resources to design their own
asset allocation / research managers / rebalance among asset classes, etc.
The strategy assumes a) you will retire around xxxx for fund xxxx. b) you
makes periodical contribution to the fund till retirement. The fund will automatically shift from equity to bond as you approach your retirement age (so a 2040 fund will significant allocation to fixed ... 阅读全帖
d*****r
发帖数: 273
27
I use Fidelity too for my 401Ks, IRAs, and brokerage. Here is my personal
experience for your consideration.
1) I converted my previous 401K into a rollover IRA so that I do not limit
myself to the fund lineup. Unless you have free Brokerage Link in your
current 401K plan, you will be limited to that plan's fund choices. Please
make sure there is no charge to the Brokerage Link, as some employers may
pass the fee to employees.
2) Using one provider will simplify your money management. You have o... 阅读全帖
y****i
发帖数: 17878
28
来自主题: Investment版 - 401K Maximize之后,还能存403B吗?
combined
http://www.irs.gov/publications/p571/ch04.html
403(b) plan and another retirement plan. If, during the year, contributions
in the form of elective deferrals are made to other retirement plans on
your behalf, you must combine all of the elective deferrals to determine if
they are more than your limit on elective deferrals. The limit on elective
deferrals applies to amounts contributed to:
401(k) plans, to the extent excluded from income,
Roth contribution program,
Section 501... 阅读全帖
y****i
发帖数: 778
29
来自主题: Investment版 - 小发现,另类的72 规律
You are right. This can be simplified as 72 rule by 1/2 of your investment
horizon if you use cost averaging strategy.
For example, "每年投入 1K,预期年增长率是6%。那么在第24年 (12×2)的时候,
总投入是24K",that's the same as 24K one time investment after 12 years, at
the beginning of 13th year. So you double the principal 72/6=12 years, 48k
at 24th year.
"如果预期年增长率是9%,那么在第16年 (8×2)的时候总资产应该是总投入的两倍左
右,即32K。", that's the same as you put 16K one time investment after 8
years, at the beginning of 9th year, double the principal ... 阅读全帖
r****m
发帖数: 1204
30
来自主题: Investment版 - 请问IUL的trick到底在哪里?
"想来想去,我还是觉得IUL是好东西。我明白前几年我不会赚钱。但是一旦有了这个工
具,我将来的钱可以多余时放入投资,需要时拿出。应该值得我现在走资啊。"
Based on your comments above, I can safely say:
1. You still don't know IUL (you don't know what you don't know)
2. Your agent didn't explain this to you (either s/he doesn't know or doesn'
t want to tell you).
First of all, the high cost/low return discussions above should already
clearly tell you that IUL's cash value will be significantly less than the
other alternative (Term+Index ETF), there is no arguments on that... 阅读全帖
h**l
发帖数: 4883
31
来自主题: Investment版 - Traditional IRA 还是Roth IRA
不管同不同时投401k和IRA, 大多数人一生投下来就会有个combination的 tax
deferred (401k和 traditional IRA)和 tax advantaged (roth)的账户吧。很少有人
一辈子只投IRA 或者只投 roth的。 我觉得你的计算就是用一时的投资过于simplify对
于整个几十年的退休账户的操作。 大多数人退休后的钱应该是从多种账户包括ss来算
的, 所以退休后IRA和Roth 的税率比较不该用effective tax rate. 因为大多数人一
生工作下来,退休取得钱里肯定是有ss, 401k的。 最后traditional IRA和 roth的税
率差距应该是marginal tax rate或者接近于 这个税率。 所以大多数网上比较roth和
traditional IRA都是用marginal tax rate 在比。

那这是一个很大的前提假定了,恐怕多数人的财务状况并非如此,你的结论只能适用于
一部分人。同时投满401k和IRA的人应该不多,大部分还是二选一的吧。讨论IRA选择
traditio........
g********3
发帖数: 1281
32
两边拿钱的会被查出来吗?
美中达协议:美籍华人、绿卡持有人须申报中国存款账户。美国财政部表示,已
经与中国政府草签了一份协议。此举旨在贯彻实施2010年通过的一项遏制海外逃税的联
邦法律。

两国已经就条款达成一致,但在正式签署前还需审议协议细则。

这项法律要求外国银行将有关美国公民所有的账户信息提交给美国国税局(IRS)。
这将迫使世界各地的银行不向任何不遵守这项法律的金融机构进行某类支付。该法的正
式名称为《外国账户税务合规法案》(Foreign Account Tax Compliance Act,简称
Fatca)。

中共官员过去曾私下表示担心遵守FATCA会背负的潜在负担。但美国已经利用政府
间协议来简化合规过程。美国和中国已经签订一类互惠协议。根据协议,中国将向美国
政府提供美国公民金融账户信息,而美国则会将中国大陆籍人士美国账户信息提供给中
共政府。

英文原文

WSJ: U.S. Initials Deal With China to Curb Offshore Tax Evasion... 阅读全帖
S**C
发帖数: 2964
33
The president is looking to slam the door on the so-called back-door route
into Roth IRAs as well as to close off the ability to roll after-tax
contributions in a company 401(k) plan into a Roth IRA. The second strategy
was simplified by a 2014 ruling from the Internal Revenue Service.
The brief reference in the massive budget document—“Limit Roth conversions
to pre-tax dollars,” on page 121—was spotted by Jeffrey Levine, a CPA and
IRA technical consultant with Ed Slott & Co. in Rockville Centr... 阅读全帖
B********n
发帖数: 12753
34
Fully portable permanent life insurance protection
Potential for tax-deferred growth if you choose to pay additional premiums
The ability to recover premiums through surrenders and withdrawals up to the
amount of all premiums paid before incurring any income taxes*
Access to your certificate value without any surrender charges
Guaranteed Issue
250,000 23.xx/month
500,000 40.xx/month
750,000 57.xx/month
1,000,000 75.xx/month
Simplified Issue
1,250,000 92.xx/month
1,500,000 110.xx/month
1,750,000 ... 阅读全帖
B********n
发帖数: 12753
35
搭车问一下公司提供的这个VUL plan
Fully portable permanent life insurance protection
Potential for tax-deferred growth if you choose to pay additional premiums
The ability to recover premiums through surrenders and withdrawals up to the
amount of all premiums paid before incurring any income taxes*
Access to your certificate value without any surrender charges
Guaranteed Issue
250,000 23.xx/month
500,000 40.xx/month
750,000 57.xx/month
1,000,000 75.xx/month
Simplified Issue
1,250,000 92.xx/month
1,500,000 11... 阅读全帖
m*********t
发帖数: 1250
36
来自主题: Investment版 - time 和 timing 的实践操作问题
通过你的简述,我对这个类似于market timing的策略系统还是有不少疑问。
首先整个策略本身只是backtest了16年,并不能称为一个“Golden Model”,如何根据
未来的数据做adaptive changes?
其次,提到的一些具体数据如200日均线,90天performance ranking等等,感觉有点过
于简化,虽然这样的simplified model可能操作起来更容易点。
12%的回报率看起来的确比较高,但是如果算上各种cost和tax,可能就没那么attracti
ve了~ PS:这个书的作者不会最终意图是要读者买他家的service或直接买他家的fund把
?:)
w***n
发帖数: 1519
37
来自主题: Investment版 - 卖哪部分ESPP有讲究吗?
Why not just simplify and always sell right away when the shares are granted
? Tax is perhaps 3rd/4th order of consideration in my opinion.
w******i
发帖数: 1476
38
来自主题: JobHunting版 - 一个很全SAS Interview Q. List [ZT]
SAS Interview Questions from http://www.sconsig.com/
Very Basic
What SAS statements would you code to read an external raw data file to a DATA
step?
How do you read in the variables that you need?
Are you familiar with special input delimiters? How are they used?
If reading a variable length file with fixed input, how would you prevent SAS
from reading the next record if the last variable didn't have a value?
What is the difference between an informat and a format? Name three informats
or format... 阅读全帖
b****j
发帖数: 78
39
来自主题: JobHunting版 - 一道面试题
NULL, if it were the leftmost one in the next level, the code could be furth
er simplified.

in
c***2
发帖数: 838
40
来自主题: JobHunting版 - One Phone Interview Problem
Let’s first simplify the problem:
1) Assume the elements of both sequences contain only 26 upper case letters
(A..Z)
2) Assume both sequences don't have duplicate elements,
for example, "AABBC" is not allowed
With these in mind, it will be quite easy:
1) Map each sequence to a unsigned int32 (lower 26 bits)
seq1 = "ABCDEFG",
maps/hashes to b1= (000000) 00000000000000000001111111
seq2 = "DBCAPFG",
maps/hashes to b2=(000000) 00000000001000000001101111
2) c=b1&b2
3) Find the longest
P***t
发帖数: 1006
41
来自主题: JobHunting版 - 一道关于矩阵的面试题
Why will fill in help? Will it simplify how you find the max square?
j**a
发帖数: 7
42
来自主题: JobHunting版 - job opportunities
有兴趣的可以将简历发到站内信箱,谢谢。
1. Int./Sr. Software Engineer
2. Junior Software Engineer
1.Int./Sr. Software Engineer
About the Job
Fortinet (NASDAQ: FTNT) is a worldwide provider of network security
appliances and the market leader in unified threat management (UTM).​
Our products and subscription services provide broad, integrated and high-
performance protection against dynamic security threats while simplifying
the IT security infrastructure.​ Fortinet is headquartered in
Sunnyvale, Calif.&
i**********e
发帖数: 1145
43
来自主题: JobHunting版 - 问一道题
类似二分.
Hint: tournament match.
Below has a great description of this method.
Maybe the code can be simplified more using recursion.
http://www.seeingwithc.org/topic3html.html
一些常见面试题的答案与总结 -
http://www.ihas1337code.com
e*****3
发帖数: 610
44
来自主题: JobHunting版 - INTERVIEW会假定你见过问的问题吗?
的确不是每个算法都是论文级的。象这个MAXIMUM SUBARRAY的算法应该算是超级简单
的吧?可是
WIKIPEDIA上还留下了发现者的大名,说明在没发现之前想出来还是不容易的。面试的
人指望你没见
过又能在30分钟里想出来,在白板上把CODE写出来?这样是不是太虚伪了?
http://en.wikipedia.org/wiki/Maximum_subarray_problem
The problem was first posed by Ulf Grenander of Brown University in
1977, as a simplified model for maximum likelihood estimation of
patterns in digitized images. A linear time algorithm was found soon
afterwards by Jay Kadane of Carnegie-Mellon University (Bentley 1984).
g**********y
发帖数: 14569
45
来自主题: JobHunting版 - 收到G家拒信,发面经
写了个9的Java ->
public class SimplifyPath {
public String simplify(String path) {
String[] segs = path.split("/");
Deque d = new ArrayDeque();

for (String seg : segs) {
if (".".equals(seg) || "".equals(seg)) {
continue;
}
else if ("..".equals(seg)) {
if (!d.isEmpty()) d.removeLast();
}
else {
d.addLast(seg);
}
}

... 阅读全帖
g**********y
发帖数: 14569
46
来自主题: JobHunting版 - 收到G家拒信,发面经
写了个9的Java ->
public class SimplifyPath {
public String simplify(String path) {
String[] segs = path.split("/");
Deque d = new ArrayDeque();

for (String seg : segs) {
if (".".equals(seg) || "".equals(seg)) {
continue;
}
else if ("..".equals(seg)) {
if (!d.isEmpty()) d.removeLast();
}
else {
d.addLast(seg);
}
}

... 阅读全帖
m*****k
发帖数: 731
47
来自主题: JobHunting版 - 问一道面世题
seems this is not always correct. let's simplify it to be an array with 0 to
n-1;
try following in java:
findMissDupFrom0ToNArray(new int[]{6, 0, 1, 2, 6, 5, 4});
out put is
missing 4
duplicated 6, while the real missing one is 3.
g**********t
发帖数: 3
48
Post for a friend's company.
Please send your resume to g************[email protected] and I will forward.
SOFTWARE ENGINEER –Ancestry (San Francisco)
Ancestry.com is the world's largest online resource for family history. We
have helped pioneer the market for online family history research, taking a
pursuit that was expensive and time-consuming and making it easy, affordable
and accessible to anyone with an interest in their family history. The
foundation of our service is an extensive collection of ... 阅读全帖
g**********t
发帖数: 3
49
Post for a friend's company.
Please send your resume to g************[email protected] and I will forward.
SOFTWARE ENGINEER –Ancestry (San Francisco)
Ancestry.com is the world's largest online resource for family history. We
have helped pioneer the market for online family history research, taking a
pursuit that was expensive and time-consuming and making it easy, affordable
and accessible to anyone with an interest in their family history. The
foundation of our service is an extensive collection of ... 阅读全帖
f****4
发帖数: 1359
50
O(m+n), O(k), O(lg m + lg n)解法见
http://www.ihas1337code.com/2011/01/find-k-th-smallest-element-
O(lgk)的解法只是2分查找需要查找的范围,而不是0~m或者0~n
文字解释可以看我的回答
http://www.mitbbs.com/article_t1/JobHunting/31911109_0_1.html
#include
bool try_find_kth(int a[], int lowa, int higha, int b[], int lowb, int highb
, int k)
{
while(lowa<=higha)
{
int mid=lowa+(higha-lowa)/2;
if(a[mid]b[k-mid-2]))
{
printf("find %dth %d\n",k,a[mid]);
return true;
... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)