C*******a 发帖数: 448 | 1 以下是这道题正确的代码
然而当我想把代码简洁一些,把标有*的4行换成1行:
int i = Arrays.asList(inorder).indexOf(preorder[preL]);
就会报错。谁知道错在哪儿???
public class Solution {
public TreeNode buildTree(int[] preorder, int[] inorder) {
return _buildTree(preorder, 0, preorder.length, inorder, 0, inorder.
length);
}
private TreeNode _buildTree(int[] preorder, int preL, int preR, int[]
inorder, int inL, int inR) {
if (preL >= preR) {return null;}
TreeNode root = new TreeNode(preorder[preL]);
* int i... 阅读全帖 |
|
I****p 发帖数: 101 | 2 Why not describe the 1st and 2nd parts of your Prel. data in the section of
Background/Introd? This way, no one could challenge you!
A reminder: Some grant reviewers cannot understand that you treat the
published data (and in particular those from another group) as your "own"
Prel. data (published is NOT prel. any more), while others do not care that
much. If your proposal is read by
the former type of reviewers, you can imagine.
You can still support your hypothesis by citing the published resu... 阅读全帖 |
|
h***y 发帖数: 834 | 3 ☆─────────────────────────────────────☆
toutuanzi (rr) 于 (Fri Sep 3 14:54:17 2010, 美东) 提到:
Got two rejections already: Guthrie, PA (internal medicine) and Capital
Health (FP)
☆─────────────────────────────────────☆
yeastmito (小猪) 于 (Fri Sep 3 15:14:14 2010, 美东) 提到:
我也受到一个据信了
Guthrie, PA (internal medicine
☆─────────────────────────────────────☆
rr6262789 (盘片) 于 (Fri Sep 3 15:15:38 2010, 美东) 提到:
Rejection: Guthrie (IM), PA
Hey toutuanzi, can you highlight your post title so that... 阅读全帖 |
|
z**********4 发帖数: 467 | 4 Three Rej so far.
Stony brook-general surgery(prel)
Lebanon-Bronx-General surgery(prel)
Guthrie (IM), PA
Credential
Step 1 250, step ck 258, step3 226(96) stepcs 1 attempt Graduation year 7,
US Ph.D. next year(proven in my LOR), 3 yrs Ortho in China, needing visa |
|
z**********4 发帖数: 467 | 5 Three Rej so far.
Stony brook-general surgery(prel)
Lebanon-Bronx-General surgery(prel)
Guthrie (IM), PA
Credential
Step 1 250, step ck 258, step3 226(96) stepcs 1 attempt Graduation year 7,
US Ph.D. next year(proven in my LOR), 3 yrs Ortho in China, needing visa, 4
Mo USCE in different specialties |
|
z**********4 发帖数: 467 | 6 Neurology without at least 4 prel IMs or TYs is useless. 2/3 Neurology
offers advanced program. Try to get prel IMs or TYs. They are more important
than advanced prgs. |
|
z**********4 发帖数: 467 | 7 If you are doing neuro, it is more possible that you get an advanced program
. Prel is very hard to get unless the program helps with it. I have seen ppl
who can match into advanced but can not make it in prel. Sad story. |
|
m*******1 发帖数: 328 | 8 Yearly salary itself does not explain anything. Before you choose a
specialty, you must figure out:
(1) What is the most important thing in your life? Career, family, both, or
religion, humanitarian work, etc.
(2) Are you happy with the specialty during or after residency?
(a) Are you kind of person that is fit for the program? If you have a nerdy
personality or less communicative or speak less english, stay away from
communication intensive specialties, in other words, direct pt care
specialti... 阅读全帖 |
|
s********o 发帖数: 3319 | 9 先在草稿上给preliminary programs排好序,prel-1, prel-2, ...
再在草稿上给adanced programs排好序,advan-1, advan-2, ...
然后开始填写rank list:
preli-1 +advan-1
preli-1 +advan-2
preli-1 +advan-3
preli-1 +advan-4
preli-1 + ...
preli-2 +advan-1
preli-2 +advan-2
preli-2 +advan-3
preli-2 +advan-4
preli-2 + ...
... + ...
然后 再考虑只rank preliminary programs的 (match上之后还得找PGY-2的advanced
program):
preli-1
preli-2
preli-3
...
然后 再考虑只rank advanced programs的 (match上之后还得找到PGY-1的preliminary
program,否则就被取消advanced的资格了):
advan-1
advan-2
advan... 阅读全帖 |
|
h****g 发帖数: 312 | 10 C O N F I D E N T I A L SECTION 01 OF 04 BEIJING 001760
SIPDIS
SIPDIS
EO 12958 DECL: 03/15/2032
TAGS PGOV, PREL, ECON, SOCI, CH
SUBJECT: FIFTH GENERATION STAR LI KEQIANG DISCUSSES
DOMESTIC CHALLENGES, TRADE RELATIONS WITH AMBASSADOR
REF: SHENYANG 26
Classified By: Ambassador Clark T. Randt, Jr. Reasons 1.4 (b) and (d).
Summary |
|
x*********g 发帖数: 11508 | 11 谁给翻译解释一下?里面好多专有名词缩写看不懂啊。
Monday, 22 February 2010, 08:54
C O N F I D E N T I A L SEOUL 000290
SIPDIS
EO 12958 DECL: 02/23/2030
TAGS PREL, PGOV, SOCI, MARR, ECON, ETRD, KN, KS, CH
SUBJECT: A/S CAMPBELL’S FEBRUARY 3 MEETING WITH NSA KIM
Classified By: Ambassador D. Kathleen Stephens. Reasons 1.4 (b/d).
Summary |
|
x*********g 发帖数: 11508 | 12 有兴趣的可以读一读
C O N F I D E N T I A L SEOUL 001400
SIPDIS
E.O. 12958: DECL: 09/01/2019
TAGS: PGOV PREL PINR SOCI ECON KN KS
SUBJECT: INTER-KOREAN RED CROSS TALKS ON FAMILY
REUNIFICATION
Classified By: POL M/C James L. Wayman. Reasons 1.4(b/d)
¶1. (C) SUMMARY: The North Korean delegation to the August
26-28 inter-Korean Red Cross talks showed up armed with
instructions from Kim Jong-il (KJI) to agree immediately to
family reunions by Chusok (Korean Thanksgiving, October 2-3),
but was not prepare... 阅读全帖 |
|
x*********g 发帖数: 11508 | 13 http://213.251.145.96/cable/2009/01/09BEIJING22.html
C O N F I D E N T I A L SECTION 01 OF 07 BEIJING 000022
SIPDIS
DEPARTMENT FOR THE SECRETARY, DEPUTY SECRETARY, EAP A/S
HILL, S/P, EAP/CM
NSC FOR DWILDER
EO 12958 DECL: 01/05/2034
TAGS PREL, PGOV, ECON, EFIN, MARR, MASS, CH
SUBJECT: LOOKING AT THE NEXT 30 YEARS OF THE U.S.-CHINA
RELATIONSHIP
Classified By: Ambassador Clark T. Randt. Reasons 1.4 (b/d)
¶1. (C) January 1, 2009, marked the 30th Anniversary of the
establishment of diplomatic re... 阅读全帖 |
|
h****g 发帖数: 312 | 14 C O N F I D E N T I A L SECTION 01 OF 04 BEIJING 001760
SIPDIS
SIPDIS
EO 12958 DECL: 03/15/2032
TAGS PGOV, PREL, ECON, SOCI, CH
SUBJECT: FIFTH GENERATION STAR LI KEQIANG DISCUSSES
DOMESTIC CHALLENGES, TRADE RELATIONS WITH AMBASSADOR
REF: SHENYANG 26
Classified By: Ambassador Clark T. Randt, Jr. Reasons 1.4 (b) and (d).
Summary |
|
b**********n 发帖数: 2812 | 15 iewing cable 07BEIJING1760, FIFTH GENERATION STAR LI KEQIANG DISCUSSES
If you are new to these pages, please read an introduction on the structure
of a cable as well as how to discuss them with others. See also the FAQs
Understanding cables
Every cable message consists of three parts:
* The top box shows each cables unique reference number, when and by
whom it originally was sent, and what its initial classification was.
* The middle box contains the header information that is associated... 阅读全帖 |
|
g*q 发帖数: 26623 | 16 维基泄密的一则消息显示,南方报业的高管向美国情报手机人员传递情报,但维基在披
露之后,对该人员的姓名做了匿名处理。这个消息说明,南方系和美国政府的关系已经
完全是上下级的走狗关系,性质也已经完全是泄露国家机密或从事间谍犯罪了。可能除
了中国,没有其他国家会对这样出卖国家利益的行为进行容忍的。
在这份电报里,美国驻华大使提到了“关系”(contacts)之一就是南方报业的高管,
因为文中提到“令人惊讶的是,甚至XXX都没有读过他的集团里的报纸发表的这两篇文
章”。这个XXX究竟是谁?身居党报高位,却干出这种出卖国家利益泄露国家重要信息
的卖过行为,为什么还是通过维基曝光了才知道?为什么这种严重的间谍行为一点反应
都没有?
该电文发于2008年4月16日,,由美国驻华大使Clark T. Randt签署发出。内容如下:
1. 胡锦涛跟整个中共领导层一起,继续执行对西藏问题的强硬路线。尽管中共领导人
对西藏问题的看法可能有些差异,但没有本质上的区别。中共受到西方"持偏见" 的媒
体报导和对奥运相关的抗议活动激起的国内民族主义感情的支持。至少在奥运结束之前
,中共高层不会修订其西藏政策。
2.... 阅读全帖 |
|
|
|
t***h 发帖数: 5601 | 19 http://wikileaks.org/cable/2010/02/10SEOUL272.html
10SEOUL272 2010-02-22 09:32 SECRET Embassy Seoul
VZCZCXYZ0000
OO RUEHWEB
DE RUEHUL #0272/01 0530932
ZNY SSSSS ZZH
O 220932Z FEB 10
FM AMEMBASSY SEOUL
TO RUEHC/SECSTATE WASHDC IMMEDIATE 7125
INFO RUCNKOR/KOREA COLLECTIVE PRIORITY
RUEHBJ/AMEMBASSY BEIJING PRIORITY 7305
RUEHKO/AMEMBASSY TOKYO PRIORITY 7377
S E C R E T SEOUL 000272
SIPDIS
E.O. 12958: DECL: 02/22/2034
TAGS: PREL PGOV KNNP ECON SOCI KS KN JA CH
SUBJECT: VFM CHUN YOUNG-WOO ON SINO-NORT... 阅读全帖 |
|
t***h 发帖数: 5601 | 20 https://wikileaks.org/plusd/cables/10PANAMA87_a.html
Date: 2010 February 23, 19:07 (Tuesday)
Canonical ID: 10PANAMA87_a
Original Classification: CONFIDENTIAL
Current Classification: CONFIDENTIAL
Type: TE - Telegram (cable)
From: Panama Panama City
To: Belize Belmopan | Central Intelligence Agency | China Beijing | Colombia
Bogota | Costa Rica San Jose | Defense Intelligence Agency | Ecuador Quito
| El Salvador San Salvador | Honduras Tegucigalpa | National Security
Council | Nicaragua Managua | ... 阅读全帖 |
|
l*******g 发帖数: 27064 | 21 黄色“N”:在1,2档时变空档
BRKBAL:调节前后刹车平衡
黑色“BOX”:确认赛车手是否要进入维修加油站
蓝色和橙色S1/S2按钮:根据需要预设各种功能(...)
Entry:转弯设置
橙色和绿色BRK-/BRK+:在预设和当下BRKBAL设置间调节刹车平衡
IGN:控制点火定时
白色ACK:确定系统更改
PREL:控制预加载差动补偿转矩
红色Oil:将油从副油箱转移到主油箱
黑色BP:激活离合器啮合点
DRS(方向盘左上角):激活减助系统区域中的后缘襟翼
红色PL:激活维修道助速器
黑色R:激活车载电台传输
SOC:控制赛车ERS能量储存系统。
Pedal:控制赛车踏板设置
Fuel:控制燃油消耗率
黑色OT:激活性能描述图标,协助赛车手决定进攻还是防守。
Tire:向ECU和其它系统提供轮胎型号
BBal-/BBal+:调节刹车补偿
MFRS:多功能按钮 |
|
H****y 发帖数: 2992 | 22 唉,也是这两天知道的分。刚在线下面。
又刚写完个新的,很小很小的内部的,掉地下都找不着那种,主要用来给小本们发工资
的。不过现在很在状态之内(就是原先有时期末考试之前你确定能考好的那种既稳定又
期待的状态)。觉得应该借着这股劲再写个,别浪费了,可惜实验室还是空的,没有
prel data,搞不了大的。 |
|
C***t 发帖数: 915 | 23 有个已经被我们系录取的自费博士(秋季开始),本地人,在我们这里读的本科,又去
外面读了硕士,工作了几年,现在回来读博士。我问了系里老老师,说不是top的但也
是好学生之列。
他几天前来跟我谈,我预备着他会问financial support的问题。都这年龄了,问也很
正常,我也知道他会问其他老师(问题是如果人家有余钱早招好了,不会等到现在)。
我当时说,我今年没有预备招全额博士,但是我可以按照hourly先付着钱。一旦我有任
何funding,可以保证给你优先。他含含糊糊也说了考虑要不要读part time然后时间久
一些。我说如果你跟我读,我会期望你如期毕业,而且你这几年得照着明星学生的方向
去努力:给你去开大会,认识人,你一来就得马上写公民可以申请的pre-doc
proposals。所有数据都给你当prel用。我说你用最短时间毕业,苦上这几年,尽快找
个好工作,将来你回过头来再看,这绝对要好过你一直拖拉下去。他说回去考虑下,我
也让他也再看看其他的options考虑一下。
现在他来信,说决定跟我干了,但是同时会keep looking for other internal and... 阅读全帖 |
|
|
W***n 发帖数: 11530 | 25 don't compare me with
people got 30% gain in a day
'm a frog |
|
|
W***n 发帖数: 11530 | 27 not including dividends
(hopefully) |
|
W***n 发帖数: 11530 | 28
guess that will beat 70% of the mutual funds |
|
n***y 发帖数: 2730 | 29 set up a realistic goal, you may end up better.
smart. |
|
|
h****g 发帖数: 312 | 31 C O N F I D E N T I A L SECTION 01 OF 04 BEIJING 001760
SIPDIS
SIPDIS
EO 12958 DECL: 03/15/2032
TAGS PGOV, PREL, ECON, SOCI, CH
SUBJECT: FIFTH GENERATION STAR LI KEQIANG DISCUSSES
DOMESTIC CHALLENGES, TRADE RELATIONS WITH AMBASSADOR
REF: SHENYANG 26
Classified By: Ambassador Clark T. Randt, Jr. Reasons 1.4 (b) and (d).
Summary |
|
h****g 发帖数: 312 | 32 C O N F I D E N T I A L SECTION 01 OF 02 BEIJING 001668
SIPDIS
SIPDIS
E.O. 12958: DECL: 03/13/2032
TAGS: PHUM PREL PGOV CH
SUBJECT: WU YI INTERVENES AS DR. GAO CASE LAYS BARE
CENTER-LOCAL DISCORD
REF: BEIJING 1063 AND PREVIOUS
Classified By: Ambassador Clark T. Randt, Jr. Reasons 1.4 (b/d).
Summary |
|
z**********4 发帖数: 467 | 33 Last yr, it is very weird. I just applied pediatric preliminary for
Diagnostic Radiology. CCHMC gave me a MD/PhD 2 day IVs. The first day is
research day iv. The second day is clinical day iv. For my research day,
they arranged me 2 pediatric radiologists and 1 radiology researcher to iv
me. Haha.. I thought that I was very stellar at interviews. Nearly all the
ppl asked me what I was applying. I replied that I was applying to prel
pediatrics. Even PD was curious why I was given an MD/Ph.D. iv. ... 阅读全帖 |
|
z**********4 发帖数: 467 | 34 Rej: JHU/Sinai Hospital Program(prel IM) |
|
z**********4 发帖数: 467 | 35 I applied 54 preli med and 35 preli surgery and about 15 transitional. I
just got IV from one TY. Who got IV from preli med or preli surgery? Anybody
? It seems that prel and categorical are not in the same selection process. |
|
z**********4 发帖数: 467 | 36 呵呵,有一点我要纠正的是去年我申请了包括preli在内的一共5个专业,内科(Prel+
Categorical)最多。 |
|
z**********4 发帖数: 467 | 37 Never check prel and categorical programs if you want to apply advanced
programs like neuro. If you want to apply categorical int med, that is fine.
Just check categorical int med. You could not forward 2 PSs for the same
program. It is a dealbreaker. |
|
m*******1 发帖数: 328 | 38 I agree with tamrcss. But one thing I need to point out is that it depends
on the specialty.
If you are doing surgery, especially preliminary surgery (nondesignated) .
The main theme b/w you and other preli PYG1 interns are knockout tournament.
4:30AM-7:00 PM is your basic schedule. Hi-Fi working and Hi-Fi talking,
just like a Boxer in an interview before the fight. Never talk to anyone
that the work is too hard. If you have a really nice performance, you will
be selected to PYG2 position out of... 阅读全帖 |
|
s*********e 发帖数: 100 | 39 rej prel
Bronx Lebanon Hospital |
|
m*******1 发帖数: 328 | 40 书本学习能力没啥用。
(1)你要在inservice exam中top 20-30%, 才有可能转成categorical。
(2) 美国的外科训练跟中国不一样,中国基本上采用杀猪匠培养模式(所以医疗事故
层出不穷)。美国外科培训非常重视理论水平。尤其是SICU.如果你轮转的时候不能回
答出很多基本外科问题,you will be in big trouble.
(3) 身体好加勤快是前提,如果这个不能做到,就别混了。
(4) "不过不要太笨就好" 这个只能让你做完preliminary. 你的IQ has to be top 15
% of your preliminary surgical interns. Otherwise, you are much less likely
to be selected to categorical positions.
(5) 我见过能从preliminary转到categorical的FMG, 基本的pattern是:hardworking+
very intelligent+high USMLE score+ high EQ+nea... 阅读全帖 |
|
n*******r 发帖数: 425 | 41 Mon: Baker Hughes (NYSE:BHI), Humana (NYSE:HUM), Loews (NYSE:L)
Tues: Archer-Daniels (NYSE:ADM), BP (NYSE:BP), Clorox (NYSE:CLX), Dollar
Thrifty (NYSE:DTG), Kellogg (NYSE:K), MasterCard (NYSE:M), Pfizer (NYSE:PFE)
, Discovery (NASDAQ:DISCA), Electronic Arts (NASDAQ:ERTS), Wynn Resorts (
NASDAQ:WYNN)
Wed: Aetna (NYSE:AET), Agrium (NYSE:AGU), AOL (NYSE:AOL), MGM Resorts (NYSE:
MGM), Pulte Homes (NYSE:PHM), News Corp (NASDAQ:NWSA), Qualcomm (NASDAQ:QCOM
), Whole Foods (NASDAQ:WFMI)
Thurs: Apache (N... 阅读全帖 |
|