l***i 发帖数: 1309 | 1 Given n non-negative integers a1, a2, ..., an, where each represents a point
at coordinate (i, ai). n vertical lines are drawn such that the two
endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together
with x-axis forms a container, such that the container contains the most
water.
Anyone explain the testcase [1,2,4,3], it seems to me that the answer is 6
for this case.
the bar between h=1 and h=2 can trap 1*1 = 1 unit of water
the bar between h=2 and h=4 can trap 2*1 = 2 unit... 阅读全帖 |
|
l*****a 发帖数: 559 | 2 来自主题: JobHunting版 - G/F面经 二爷看明白了讲讲。
p1027的第二行有句话看不懂。
"If p is on sweep line z, then q = p."
p是a和b的交点,再加一个endpoint q,岂不是三条线段相交了,和假设不符啊。 |
|
m***k 发帖数: 946 | 3 leetcode里这道题有一个test case没有看明白,能请哪位给解释一下么?
input: [1,2,4,3] expect: 4
Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point
at coordinate (i, ai). n vertical lines are drawn such that the two
endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together
with x-axis forms a container, such that the container contains the most
water.
Note: You may not slant the container. |
|
w****x 发帖数: 2483 | 4 算法导论上的一道, 觉得蛮好的...
/*
Consider a sorting problem in which the numbers are not known exactly.
Instead, for each number, we know an interval on the real line to which it
belongs.
That is, we are given n closed intervals of the form [ai, bi], where ai ≤
bi.
The goal is to fuzzy-sort these intervals, i.e., produce a permutation 〈i1,
i2,..., in〉
of the intervals such that there exist , satisfying c1 ≤ c2 ≤ ··· ≤ cn.
Design an algorithm for fuzzy-sorting n intervals.
Your algorithm should have the gen... 阅读全帖 |
|
g**********3 发帖数: 61 | 5 【 以下文字转载自 EE 讨论区 】
发信人: gaoheming123 (JustComeToUs), 信区: EE
标 题: 真正体验到一把DMA的先进性和优越性
发信站: BBS 未名空间站 (Thu Nov 29 23:06:13 2012, 美东)
上大学的时候学过DMA 控制器,知道这是一个可以为CPU 分担任务的重要设备。
工作后一直没有机会接触,就算接触也仅限于改改bug,没有机会了解DMA多莫有用。
上个月接了个活,真是开了眼了:要求我设计一个isochronous pipe 在 mentor's 的
musb 控制器上,参考设计上没有对isochronous endpoint 的支持,我需要参考ehci或
者Ohci设计出一套方案使得 musb可以以1ms的频率发送192byte的音频数据包。
操作系统是windows moible,主控制器是TI 的 OMAP ,困难之处在于 windows (我相信
不止windows,任何操作系统)不能以1ms的频率精确的推送数据包给musb控制器,这对
cpu将是一场巨大的灾难,所有的其它线程都将停止,系统功耗将急剧提升,... 阅读全帖 |
|
a*******r 发帖数: 87 | 6 来这refer还能吃包子=P 那再贴一个;
我们公司还有一个职位有opening,是个IT Support Engineer(Audio and Video)的
position.JD如下。如果有感兴趣的,请把RESUME发给b*********[email protected].我会
发给hiring manager.
- Responsible for Planning, Development, Implementation, Optimization and
Support of the Audio and Video conference system
- Establish standards, policies, configuration guidelines and procedures
for operation of Network / Security Systems Infrastructure
- Manage Performance tuning and Capacity Planning of production systems.
Optim... 阅读全帖 |
|
f*****t 发帖数: 13 | 7 Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point
at coordinate (i, ai). n vertical lines are drawn such that the two
endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together
with x-axis forms a container, such that the container contains the most
water.
Note: You may not slant the container.
下面是run完我的function后的一个test case:
Showing the first failed test case.
input output expected
[1,2,4,3] 6 4
不太明白为什么expected应该是4? |
|
s********u 发帖数: 1109 | 8 感觉这道题经久不衰,一直是经典难题。就是一堆interval,带有start和end,以及高
度,整合之后每个interval要取最高值。
最近换汤不换药,出了speaker的版本:
http://www.mitbbs.com/article_t/JobHunting/32569901.html
epi有两道题,14.19和15.1处理这类问题。
方法是不同的,
一个先将endpoint排序,另外用一个BST维护当前的最大高度,然后结束时就删除相应
的节点,这个感觉很难想,代码简洁一点。
另一个是mergesort。思路简单,代码要冗长一点。
个人感觉前者适用于应付stream,如果是静态数据应该mergesort就够了。
大家怎么看呢? |
|
m********a 发帖数: 128 | 9 难道我理解不正确?难道中间更高的vertical line不block两边比较低的vertical
line 形成water container?
比如[1 2 1], 如果block结果是1,否则就是2。
Given n non-negative integers a1, a2, ..., an, where each represents a point
at coordinate (i, ai). n vertical lines are drawn such that the two
endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together
with x-axis forms a container, such that the container contains the most
water. |
|
z***e 发帖数: 58 | 10 来自主题: JobHunting版 - F家题请教
Answer:
0
after sorting
(0.1,0.5) (0.2,0.3)
dp[0] = 0
dp[1] = 0 since endpoint 0: 0.5 larger than endpoint1 : 0.3
So it won't add 1. |
|
m*******n 发帖数: 113 | 11 近日去面软软,本来奔个练手目的。然后见了大头,在里面十来年了,问些
二八不着调的问题。比如问我有service突然不responsive了,应该怎么办。我就说那
怎么办,自然是看log看到那步了,看是那个endpoint突然超时还是啥的,然后看是CPU
/disk/db bound等等一通扯。这位说那假设log没有,怎么办?我说那应该用profiling
工具,还有database connection/locking/query staticstics啥的。然后人家说你用
过调试工具没有。大爷的,原来这是人家想要的答案。我心想现在网络时代,你怎么在
服务器上去调试重现?忍住没说。写code的时候也是,非说我的方法不好,不高效,弄
的我在哪儿搞半天,难道有更好的方法?最后人家跟我方法差不多,变了下形。估计没
戏了,不过也吐吐,这感觉也太好了,知识也太陈旧了,还自以为是。 |
|
|
c*******y 发帖数: 570 | 13 感谢各位回复。我是lz,半路出家,学的也不是很懂。是我水平不够,问的不好。
想学着写那种Jersey的service,大概就是后端操作数据库,然后也有endpoint给前端
或者client返回json数据的。
搜了一下看到网上有些servelet+JSP的教程。大概是JSP可以直接render出前端页面。
所以就来问一下,是不是还有人这么做,后端写一个service,用servelet还是怎么,
然后前面用JSP。其实我一直不太理解servelet是什么东西,JSP也似懂非懂。还请各位
多多指教 |
|
a****6 发帖数: 342 | 14 请问各位一个电脑的问题:
我们新买了一个seagate (Free Agent Go driver)的移动硬盘来备份server 上的东
西(设定的是每天自动备份,旧的移动硬盘一直没问题,都能成功备份)。
把这个新移动硬盘连上server后,电脑上的杀毒软件Symantec Endpoint Protection
总是 block 这 个Autorun.inf , 所以备份总是不成功。
请问怎么解决阿?该怎么改这个杀毒软件的设置阿?
非常感谢。 |
|
H******7 发帖数: 34403 | 15 my endpoints里有两个,一个是可能那个设备,有个号码,status是off line.
另一个是soft phone,不知是啥,也是offline
没有地妨可看phone status, or port status |
|
w****a 发帖数: 6326 | 16 ☆─────────────────────────────────────☆
Huan2007 (胡绵涛) 于 (Tue Dec 4 14:16:10 2012, 美东) 提到:
搞个中美电话真不容易啊
这个样子,从图中中国电话打美国电话要收费?从美国电话打中国电话(google voice
number)也要收费?
☆─────────────────────────────────────☆
a9 (嗯) 于 (Tue Dec 4 14:19:15 2012, 美东) 提到:
不全对。
gv电话不通过obi的服务器
☆─────────────────────────────────────☆
Huan2007 (胡绵涛) 于 (Tue Dec 4 14:21:48 2012, 美东) 提到:
你不是开了个VOIP乐部么?你说说为啥就打不通,两个方向都不通。但google知道图上
的"中国电话"在用它的GV number,
☆─────────────────────────────────────☆
lxingbo (bobo) 于 ... 阅读全帖 |
|
s***r 发帖数: 500 | 17
symantec endpoint既然能检测出来,应该不会给你运行染毒程序的机会,直接给
quarantine了。就是移到一个特别的目录不让你access。没什么危险。有时候真要运行
个误杀的keygen费老劲了。危险都是他查不出来的时候才有。
重启后看提示的virus文件是什么,是不是某个系统目录的dll,如果是的话safe mode
进去手动删掉就好了。
full scan其实没必要,查不出来的还是查不出,能查出来的你第一次运行/解压的时候
就报警了。 |
|
i***e 发帖数: 9429 | 18 非得fdisk,然后从新装系统么?
我总觉得endpoint 可能太敏感。 |
|
p*******m 发帖数: 20761 | 19 Access control bypass in Hikvision IP Cameras
From: Monte Crypto
Date: Tue, 12 Sep 2017 04:19:00 +0200 (CEST)
Access control bypass in Hikvision IP Cameras
Full disclosure
Sep 12, 2017
Synopsis:
---------------
Many Hikvision IP cameras contain a backdoor that allows unauthenticated
impersonation of any configured user account.
The vulnerability has been present in Hikvision products since at least 2014
. In addition to Hikvision-branded devices,
it affects many whi... 阅读全帖 |
|
a*****g 发帖数: 1320 | 20 线段MN with endpoints M(6, 10) and N(1, 0)
is rotated 30° about the origin. What are
the coordinates of N after the rotation?
1. ( sqrt3/2, 1/2)
2.(12/, sqrt 3/2)
请教该如何做此题? 谢谢。 |
|
|
|
|
|
|
|
|
|
|
|
z***n 发帖数: 31 | 31 symantec endpoint protection 和Win7冲突,系统总说有driver不兼容。请问有更好
的杀毒软件可以推荐下载吗。 |
|
B*S 发帖数: 1328 | 32 Medivation, Inc. (NasdaqGM: MDVN - News) shares fell 67% following the
release of disappointing phase III results on lead pipeline candidate
dimebon. The company, along with partner Pfizer, Inc. (NYSE: PFE - News),
suffered a huge setback when dimebon failed to achieve both its primary and
secondary endpoints in the CONNECTION study.
The phase III, multi-national, double-blind, placebo-controlled safety and
efficacy trial was conducted across 63 sites in North America, Europe, and
South America |
|
c*****r 发帖数: 3 | 33 的确可惜,下午3:40左右出的消息
Delcath Phase III Trial Results Exceed Primary Endpoint Expectations
Treatment Arm Shows More Than 3x Median hPFS Compared to Control Arm
不用后悔,以后赚钱机会很多,biotech stock别错过出消息的时间 |
|
j*****7 发帖数: 4348 | 34 Nobody believes FDA will decline the approval, it hit the endpoint w/o any
question.
The real deal is the expected sales number, since this drug didn't work very
well at 78 wk, so there might not be huge sales after its approval, that's
the reason I said I'd close my position once price spikes. On the other hand
, if FDA delayed the approval, it'd be a nice entry point. |
|
w**********2 发帖数: 764 | 35 CNBC 真是太有才了。
金价银价近期看来要大涨了!
Marriage, Baby Boomers and the Case for Gold
Published: Saturday, 27 Aug 2011 | 10:46 AM ET
By: Patrick Allen
CNBC EMEA Head of News
With the Baby Boomer generation getting older and the market increasingly
volatile, there has been a lot of debate about how the aging population can
find an investment that will help pay for their retirement.
The San Francisco Fed released a study earlier this year that looks at the
life stages of Americans born between 1946 and 1964. It... 阅读全帖 |
|
d******8 发帖数: 1972 | 36 FDA 刚刚通过了这个公司主打药物的非处方指导意见,不是批准。估计将来批准后会大
涨,可是风险是不是比较大?同一药物的处方药物已经上市。
Somaxon Pharmaceuticals, Inc. (Somaxon) is a specialty pharmaceutical
company focused on the in-licensing and development of product candidates
for the treatment of diseases and disorders in the central nervous system
therapeutic area. On March 18, 2010, the food and drug administration (FDA)
notified the Company that it approved its New Drug Application (NDA) for
Silenor (doxepin) three mlilligram and six milligram tablets for... 阅读全帖 |
|
d******8 发帖数: 1972 | 37 WASHINGTON, D.C. (TheStreet) --Chelsea Therapeutics(CHTP_) faces a big
challenge Thursday -- convincing a panel of outside experts to look
favorably on its hypotension drug Northera despite a damning FDA review that
recommended against the drug's approval.
"On the basis of the safety concerns, compounded by absence of evidence of
durability of effect, my regulatory recommendation is that we should not
grant approval for droxidopa at this time," concluded FDA reviewer Melanie
Blank in an FDA brie... 阅读全帖 |
|
T*C 发帖数: 5492 | 38 Pfizer (PFE) says an experimental Alzheimer's treatment it's working on with
Johnson & Johnson (JNJ) unit Janssen Pharmaceuticals did not meet clinical
endpoints in a late-stage study. In the study, a certain class of patients
with mild-to-moderate Alzheimer's disease given an intravenous form of the
drug bapineuzumab did not fare any better in cognitive and functional
performance compared with those given a placebo. Elan (ELN), which holds a
49.9% equity interest in Janssen Alzheimer Immunother... 阅读全帖 |
|
d******8 发帖数: 1972 | 39 http://stockcharts.com/h-sc/ui?s=exel
交易量巨大,价格略有提高,不知预示什么?
另外转药股权威BIOFISH的分析:
发信人: biofish (生鱼片), 信区: pennystock
标 题: EXEL
发信站: BBS 未名空间站 (Thu May 24 11:08:48 2012, 美东)
Exelixis, Inc 是开发抗肿瘤药物的生物制药公司。目前还没有上市的药物,但是它正
在开发的药物具有很大的潜力。
EXEL 早期开发策略是利用他们的高通量药物筛选平台,得到一批针对不同肿瘤信号通
路的化合物,然后通过license 和 partner 的方式和大公司结盟,换取一定的revenue
, 他们自己也选一些比较有希望的化合物做临床试验。在经历了一系列早期临床试验失
败后,EXEL 找到了一个非常有希望的化合物 Cabozantinib (XL184), XL184 能同时阻
断MET 和 VEGF 信号,(MET信号和肿瘤迁移有密切关系,VEGF信号和肿瘤血管生成相关
)。 在1/2期临床中显示,XL184 对多种肿瘤都有治疗效果。(... 阅读全帖 |
|
S*P 发帖数: 7575 | 40 第一个:FOLD
Key Highlights and Upcoming Milestones
1. 6-month primary endpoint results expected 4Q12 and 12-month data
anticipated 1H13 from first Phase 3 Fabry monotherapy study (Study 011)
2. Achieved target enrollment in Second Phase 3 Fabry monotherapy study (
Study 012)
3. Announced updated results from Phase 2 extension study (Study 205) to
evaluate investigational migalastat HCl monotherapy
4. Completed enrollment in Phase 2 Study 013 to investigate migalastat HCl
co-administered with ERT - ... 阅读全帖 |
|
S*P 发帖数: 7575 | 41 Dr. Rockey explained,
1. The study met its primary endpoint: significantly fewer patients in the
active arm experienced HE events -- 21% vs. 36% (p = 0.021).
2. Compared to placebo, patients randomized to GPB also had significantly
fewer total HE events (35 vs. 57 p=0.035), significantly lower ammonia
values (46 vs. 58 umol/L p=0.036), and significantly fewer symptomatic days
(13 vs. 27; p=0.015).
3. There were non-statistically significant trends in favor of fewer HE-
hospitalizations and fewer... 阅读全帖 |
|
a*********n 发帖数: 620 | 42 投资者正渴望听到马克·扎克伯格(Mark Zuckerberg)及其麾下的社交网络巨头
Facebook将会推出什么产品的消息,推动这家公司的股价上涨至将近6个月以来的最高
水平。Mitbbs.com
Facebook在周二晚间发出媒体邀请函,邀请媒体界人士出席定于1月15日在加利福尼亚
州门罗帕克公司总部召开的发布会,促使市场猜测Facebook将会宣布推出一种重大的产
品。这种传闻已经在周三蔓延至华尔街,推动Facebook股价大幅上涨5.3%,报收于30.
59美元,这是该公司股价自去年7月份以来首次突破30美元,当时其股价正在迅速下滑
,原因是该公司去年5月份以每股38美元的价格IPO(首次公开招股)上市的交易令人感
到失望。Mitbbs.com
有些分析师猜测,Facebook将会宣布推出的产品会与两个关键领域有关,分别是在线广
告和移动。这家公司已经推出了一系列新的在线广告服务,其中包括新的Facebook
Exchange服务,以及对其显示方式及Promoted Post服务和赞助广告作出改变等。“这
些服务都与商业化有关,因此(Facebook)很可能将谈及与Promo... 阅读全帖 |
|
c*****l 发帖数: 739 | 43 Celsion Corporation : Law Firm Brower Piven Announces Investigation of
Investor Securities Fraud Against Celsion Corporation
01/31/2013| 11:50am US/Eastern
The law firm of Brower Piven, A Professional Corporation, is investigating
potential securities fraud claims against Celsion Corporation ("Celsion") (
NASDAQ: CLSN) regarding whether Celsion may have issued materially false or
misleading information to investors before announcing on January 31, 2013
that its ThermoDox liver cancer treatment f... 阅读全帖 |
|
j*****7 发帖数: 4348 | 44 AVEO是个很tricky的case,过的可能性还是存在的(一半一半吧),毕竟endpoint是
PFS而且PFS还很不错。并且,看起来如果advisory committee给过了的话,FDA不太会
多啰唢。 |
|
|
l********i 发帖数: 2503 | 46 不是三期失败了吗?PFS没有差别,就等于失败了吧。至于另外一个ENDPOINT,还要等
1年多吧。我估计等下去也是失败,什么gene signature,我不相信 |
|
g**a 发帖数: 953 | 47 谢谢。嗯 另一个endpoint 我也不看好。我觉得肿瘤免疫就是挺难的,不过它有个用在
胶质母细胞瘤上的,不知道是否有希望。 |
|
s*****i 发帖数: 315 | 48 GSK and Prosensa Announce Primary Endpoint Not Met in Phase III Study of
Drisapersen in Patients With Duchenne Muscular Dystrophy |
|
l********i 发帖数: 2503 | 49 不是光不能提前上市的问题。FDA可能对药物的效果有疑问,需要进行三期临床,而且
原来的ENDPOINT可能不能用了,要改用新的,相当于否定了二期的结果,这就增加了很
大的不确定性
after
t |
|
t*******h 发帖数: 409 | 50 The results of study 306B, along with results of study 303, support a lack
of effect durability in this chronic condition. Study 306B met its primary
endpoint at Week 1 after dose titration; however, by Week 2, the next time
point, OHSA item-1 results for droxidopa and placebo appeared to merge
together (Figure 8).
这句话,应该是个killer了
即使是week 1, p = 0.028.也太靠近0.05了
其他人怎么看?
concerned
effectiveness.
site
issued |
|