由买买提看人间百态

topics

全部话题 - 话题: list
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
r********n
发帖数: 7441
1
来自主题: Programming版 - 如何sort and merge n 个sorted linked list
some thoughts based on branch and bound method: recursion + divide and conquer + merge sort
i) pick a number a, then divide n sorted linked lists into three classes:
1. min(list elements) > a
2. max(list elements) < a
3. remaining lists
ii) create three branches for them: L, M, R, if any branch contains <= 3
lists, perform merge sort, make the branch as fathomed
iii) pick any unfathomed node, perform i) ~ iii)
L***s
发帖数: 1148
2
来自主题: Programming版 - scala的list具体怎么实现的?

A list is either an empty list `new Nil`,
or a list `new Cons(x, xs)` consisting of
a head element x and a tail list xs.
In other words, it is just a LISP-style list.
You can visualize it using a binary tree.
s*******r
发帖数: 174
3
来自主题: MedicalCareer版 - {三月征文,谢绝置顶}我的IM rank list
when i saw this title, i was like is this mine list? here i have another
list which is what you r looking for. another friend was asking daben's and
zbbh,shoemaker's lists. i am sure it is somewhere in jinghuaqu. i dont have
the lists anymore, my computer crashed so many times.
http://www.mitbbs.com/article_t/MedicalCareer/31288111.html
the lists may be outdated though. you should congratulate me on being a
senior soon instead:)

your
meal
possible
s*******r
发帖数: 174
4
many friends have asked for the list that i applied last year,I just digged
it out from my computer. i didn't do much research at that time but applied
by region, basically used daben's list last year. i had tracked
rejections untill pretty late,yet there were many that i didnt add to
the list.
and daben had one vey comprehensive-multispecialty list that everyone should
have had it i think. should be somewhere in jing1hua2qu1.
i was tring to attach my list, and daben's as attachments but was inf
p********m
发帖数: 325
5
来自主题: MedicalCareer版 - 2012match--pathology iv and rejection list
Here is the updated list.
I checked several times, but may still have some mistakes.
To always have the updated and accurate list, may I suggest that each of us:
1. copy the very last list posted,
2. check accuracy of your IVs, and
3. post BOTH your update + whole updated list
For Example:
----------------------------------------------------------
10/21 updated : University of Alabama at Birmingham for liandji (知己)
-----------------------
MITBBS IV LIST :
1. 9/13: Albany Medical Cente... 阅读全帖
p********m
发帖数: 325
6
来自主题: MedicalCareer版 - 2012match--pathology iv and rejection list
Here is the updated list.
I checked several times, but may still have some mistakes.
To always have the updated and accurate list, may I suggest that each of us:
1. copy the very last list posted,
2. check accuracy of your IVs, and
3. post BOTH your update + whole updated list
For Example:
----------------------------------------------------------
10/21 updated : University of Alabama at Birmingham for liandji (知己)
-----------------------
MITBBS IV LIST :
1. 9/13: Albany Medical Cente... 阅读全帖
p*****n
发帖数: 97
7
来自主题: MedicalCareer版 - 看到match list 的一些感想
今年组织上让我面试了不少人,最近让我看了一下我们ranking list上的人都去了哪里
。第一次看到这个,有一些感想。我这个是病理program。
1. 我们ranking list上的几十个人都match上了,
2。我们ranking list上有不少CMG女生,但是没有一个男生。至少我看到的几个男生要
不是年轻不老练,就是年纪大不自信。其实女生也就稍微好一点,但是让人的感觉不一
样。还有一男生写自己在医学院有一等奖学金,但是
考试成绩比同一学校只有最低等奖学金的同学还差很多。还好PD没注意不知道,不然倒
霉的会是所有的CMG,所有的。
3。考高分的CMG在ranking list上的并不多,不知道是考分普遍低了,还是高分的人没有
被放上去。
4. 高分的人上了rank list的都match得很好。
看来大家的机会还是不少的,优势还是:高分,开朗自信,女性。
r*********n
发帖数: 130
8
来自主题: MedicalCareer版 - step 3考经 & rank list 经验谈
下面说一下rank list
现在这会大家估计各个program都东奔西跑面的差不多了。是时候给自己感兴趣的
program写些卡片啥了。另外就是估计要开始思索rank list怎么排program了。大致重
要的考虑因素有几点:
1.fellowship match率好不好,有没有自己感兴趣的in house fellowship,有没有和其
他program有guarantee的fellow位置(这种一般都不太好,但好过没有)
2. 医院所在地点好不好,安全否,学区怎样,交通怎样,上班方便么?消费水平合理
么?是不是租个房住院医一个月工资就所剩无几的?对有家的适合全家孩子居住么?适
合配偶找工作么?对单身的来说适合找对象么生活丰富么?
3. program好不好,malignant还是benign?教学如何?环境如何?nurse和其他staff素
质如何?resident开不开心?program有哪些优惠政策?包括自带廉价幼儿园?包括毕
业以后开业支持优惠?
4. patient population怎样?都是黑人?latino?酗酒吸毒gunshot层出不穷的?还是
富人区病人都... 阅读全帖
s****h
发帖数: 3979
9
R新手,有几个问题,一起请教一下:
我想建一个data frame,有7个columns.
因为数据量相对R来说比较大(0.5M users, each with 50 items),用个loop,一次做
500个users
allres <- list()
for i{
create df
allres[i] <- df

For each user,take first 50 items. (自己瞎弄的一个推荐系统,和classic user
based, item based有些不一样)
df has 50 X 1000 rows, and 7 variable (v1 - v7)
我打算每个variable弄一个vector,然后combine成df
可是有些variable我只会弄成list。例如,我是这么create 50 X 1000个double
variable for v2的:
v2 <- lapply(1:tmpTestIn@data@data@Dim[2], FUN=function(i) { c(ratings2@data
[i, preNew... 阅读全帖
w*******y
发帖数: 60932
10
X-Men: First Class was released in theaters on June 3rd, 2011, earning over
$146 million dollars domestically and over $352 million worldwide, the 12th
highest grossing movie (so far) in 2011. Matthew Vaughn, director of the
comic book movie Kick-Ass, creates a prequel to the previous four X-Men
films, while it also could be considered a reboot of the whole X-Men movie
franchise after the previous movies X-Men: The Last Stand and X-Men Origins:
Wolverine. However, it still tries to retain contin... 阅读全帖
y*****l
发帖数: 5997
11
来自主题: _pennystock版 - Stock Lists on Finviz (转载)
【 以下文字转载自 Chinook 俱乐部 】
发信人: FlyKick (fly kick), 信区: Chinook
标 题: Stock Lists on Finviz
发信站: BBS 未名空间站 (Mon Sep 12 19:33:30 2011, 美东)
想给老帅这里做的力所能及的事,鉴于是新手,先干体力活
想把大家常看的stock lists做成finviz link,这样一下能看好多,容易比较。
我手头的有 Bio stock/ 中概/ Big Cap/ Small Cap / 煤油气稀土铀
我就是一个list存成一个bookmark,每天花20分钟就能大概把自己熟悉的股票们扫一眼。当然我
股龄太短,很多股票不知道,list也短。
不知道大家有没有兴趣,如果能补充一下,或者也帖帖自己常用的stock list,可以节
省不少时间. 然后大家也可以互相借鉴一下。不是所有的stocks,就是FA比较好,自己做的比较
有把握,熟悉的股票(不
包括中概).
我先抛砖引玉了。
Bio Stocks
ACHN,AIS,ALXA,ALXN,AMRN,ARIA,ARQL,BIOS,B... 阅读全帖
l**********n
发帖数: 75
12
来自主题: _BibleStudy版 - CONTACT LIST 和PRAYER LIST
不知道大家愿不愿意建立起一个CONTACT LIST 和PRAYER LIST
以便我们能扩大彼此交通,代祷的范围。
因为BBS的局限性,很多肢体没有办法面对面的交通,有负担的时候也没有办法让我们一
起为他/她代祷,所以如果大家觉得有需要的话,可以回应这个贴子。
CONTACT LIST
包括你的名字(真名,假名都可以),电话(如果你觉得方便的话)以及EMAIL。
我建议大家用真名字和电话,不至于让人觉得你很神秘。
PRAYER LIST 包括你在最近的负担,需要让大家帮你代祷的事项等。
另外,谁有负担愿意在这里带领查经,也可以跟我或者YYYY,QIZHU讲,大家分派时间。
就是想让这里成为神的大家庭,大家在这里彼此纪念,代祷,在灵里共同长进。
m**a
发帖数: 370
13
来自主题: _ZST版 - the ids which vanished in the list
When I tried to update the member list just now,
I found the following ids vanished, so I removed them
from the list,
puff, pepar, kirk, FuerDich,xiaxia, CRITISIZER, Tieer,
By the way, the following ids' type are different from the
old list, I am not sure if they are the same ids as before or
not, but I still list them there,
jianan, kun
If you still want to stay in ZST club, please let me know
your new ids, I will add you on the list.
H******e
发帖数: 281
14
来自主题: Military版 - Facebook Friend list (转载)
【 以下文字转载自 Dreamer 讨论区 】
发信人: Dreamer (不要问我从哪里来), 信区: Dreamer
标 题: Facebook Friend list
发信站: BBS 未名空间站 (Fri Aug 11 11:38:56 2017, 美东)
如果我经常看A的profile,而A是我的朋友B的朋友。
那么我看B的Friend list,A会出现在top10是吗?
这是因为Facebook认为我想跟A connected,所以让A出现在B的Friend list top list
上,是这样的吗?
l****z
发帖数: 29846
15
Report: Journal News Map-listed Guns and Permits Stolen From Rockland County
Home
by Jammie
Well, that didn’t take long. Great job, Journal News. This is now
reportedly the second home burglarized that just happened to appear on the
gun permit holder list in December.
Two handguns and two pistol permits were stolen from the New City home
of a man whose name and address are listed on the website of a local
newspaper as possessing gun permits, police said.
The thieves ransacked the house ... 阅读全帖
j****3
发帖数: 2836
16
首先,这个no fly list和terrorism watch list是两回事,前者现在有几万人,后者
包含前者,现在有大约一百万人在名单上。第二,no fly list只是不让坐飞机,又不
是不让出行。我个人反对以no fly list来禁止人坐飞机的做法,但不幸的是,坐飞机
并不是一项法律权利,所以才会被随意剥夺。万幸的是,拥枪权是写进宪法的,所以左
逼们想禁枪就没那么容易。
i**t
发帖数: 3556
17
来自主题: USANews版 - Trump要支持no fly list禁枪了。
Donald Trump will meet with the National Rifle Association to discuss
preventing people on the terror watch list or no-fly list from buying guns,
he announced Wednesday.
“I will be meeting with the NRA, who has endorsed me, about not allowing
people on the terrorist watch list, or the no fly list, to buy guns,” Trump
tweeted Wednesday。
g********2
发帖数: 6571
18
来自主题: USANews版 - Trump要支持no fly list禁枪了。
川普一向都是支持禁止恐怖分子买枪的:
In the past, Trump has supported closing the so-called loophole allowing
those on a terrorism watch list to purchase arms. In an interview with ABC’
s “This Week” last November, he said he was a “really big proponent of
the Second Amendment” but that potential terrorists should have their
access to guns restricted.
这次再次声明这一点:
“If somebody is on a watch list and an enemy of state and we know it’s an
enemy of state, I would keep them away, absolutely,” Trump said in the
intervie... 阅读全帖
m*****s
发帖数: 4427
19
原来如此!
http://www.msn.com/en-us/news/politics/secret-ledger-in-ukraine-lists-cash-for-donald-trump%e2%80%99s-campaign-chief/ar-BBvCJjt?li=BBnbcA1&ocid=mailsignoutmd
KIEV, Ukraine — On a leafy side street off Independence Square in Kiev is
an office used for years by Donald J. Trump’s campaign chairman, Paul
Manafort, when he consulted for Ukraine’s ruling political party. His
furniture and personal items were still there as recently as May.
And Mr. Manafort’s presence remains elsewhere here in th... 阅读全帖
N*****N
发帖数: 1605
20
☆─────────────────────────────────────☆
SinoKnight (巴山一夜三千里) 于 (Tue May 1 20:44:23 2007) 提到:
刚刚收到eBay的一封信.把我一个expired的list removed了. $0.2 listing and $0.35
gallery fees are refunded:)
The rights owner, xxxxx, notified eBay that this listing violates
intellectual property rights. When eBay receives a report of this type of
violation, we remove the listing to comply with the law.
The misuse of a trademark is unlawful and against eBay's policies. A
trademark is a unique sign (such as a name,
z***0
发帖数: 4609
21
在英国买的BURBERRY围斤, LP不是很喜欢, 就准备在EBAY上面出了.
昨晚LIST的, 刚收到EMAIL, 说被ENEDED了.
New Authentic Burberry PINK scarf 100% Lambswool
The listing was removed because it violated eBay policy.
The rights owner or an agent authorized to act on behalf of the rights owner
, Burberry Limited (Burberry), notified eBay that this listing violates
intellectual property rights. When eBay receives a report of this type of
violation, we remove the listing to comply with the law.
不准备弄了,下次什么时候送人得了.
只是不明白, 如果说我违反了人家的商标权, 那为什么
h********a
发帖数: 6364
22
重新装了系统, 新下载安装了ebay turbo lister
发现不管用以前的listing还是模板还是新建listing
一双击进去编辑 listing,马上会变成auction,也找不到地方调成
fixed listing
怎么回事?
包子谢
c******k
发帖数: 1140
23
新手发问:在ebay上想一个卖太阳镜,最后不让list。卖其他的东西没有这个问题。
You can not submit your listing due to the following problems
Attention Seller:
Thank you for choosing eBay.
In order to help maintain a safe trading environment, selling limits are
occasionally placed on listings. For this item, the site on which the item
is listed must match your site of registration, and the item can only be
shipped within the same country. Please go back and make the necessary
changes.
........
这是说我人在A州B市(my site of registration),我只能
D****9
发帖数: 10889
24
来自主题: ebiz版 - Featured First listing discontinued
Dear DVD209
We know you've purchased the Featured First listing upgrade recently, and
wanted to let you know this feature will be discontinued in June and July of
this year.
Our reason for taking this step is simply to make sure we always highlight
the most relevant listings from sellers providing great value and service at
the top of eBay search results.
You do not need to change your listings-Featured First will no longer be
available for purchase with a listing as of June 30, 2010 and will
au
k*****n
发帖数: 458
25
同样19。98(连邮费)
amazon 14。99 + 4。99。。费用 2。65
ebay 13.99 + 5.99 费用 1.12 + paypal 0。88
ebay insert fee 为 good until cancel ..0.50一次性(无论卖出多少个),除非改
价钱/title
为什么ebay会被搞死呢。amazon的list 相当于ebay的 fixed price list。这50cent
listing fee 只要卖出一个足已抵消和amazon 的手续费差价。。
o******h
发帖数: 1142
26
用iphone ebay app打开 active listing.左边是每个list的照片。这样在list很多的
情况下,看照片速度很快很直观。
但是用电脑打开,只有文字,没有照片。能否在哪里设置改成也显示照片?因为list太
多之后,看文字速度相当慢。
i*******d
发帖数: 81
27
http://www.courthousenews.com/2012/04/27/46045.htm
EBay Sellers Lose Some Bite to Fraud Allegations
By NICK MCCANN

SAN JOSE (CN) - A federal judge dismissed most of a class action
alleging that eBay should not have applied a new charge every month that it
renewed listings for products posted by sellers.
EBay introduced the Good 'Til Canceled feature in September 2008, a
policy that automatically renewed an unsold product listing unless the
seller canceled the post or sold ... 阅读全帖
l*****e
发帖数: 1275
28
really? once a listing was removed and amazon did send me warning notice
that a certain "azelaic acid are prohibited from listing or sale on Amazon",
it was a lotion and it probably contained this acid
and another time i received copyright infringement warning, apple had amazon
removed dozens of listings, i only listed against one of them, probably
affected hundreds of sellers

a
g********s
发帖数: 158
29
来自主题: ebiz版 - 那么多list,就删我的?
为啥??
接到ebay的来信了:
After reviewing your eBay account, it appears that you have violated eBay's
Copyright Violation - Software licensing policy. We realize you may not have
been aware of this policy, or that this may have been a simple oversight,
but unfortunately, we had to take the following actions on your account:
- Violating listings have been removed. A list of items that were removed
can be viewed at the bottom of this message.
- We have credited any associated fees to your account.
Your lis... 阅读全帖
a****p
发帖数: 6155
c*****e
发帖数: 314
31
用相同merchant sku在新的list上开个selling list会报错啊,说这个sku已经用过了
,怎么破?
G******4
发帖数: 51
32
忍无可忍,公开发帖征询一下版上的意见。
任意合并马鬃的listing,你们是不是都不反对?如果反对的人不多,以后大家都这么
搞。省得把货撤回来,再发出去,然后被合并,绕一圈,回到原点,浪费时间、精力和
钱。
我推断一下,合并listing估计是神医里的那些老油条干的。自己不想把货撤回来,直
接合并一个好的listing。这样你是舒服,但是其他神医或游医人家本来卖的好好的,
现在被你破坏了。你这么干就是损人利己。还有一些人,合并的不到家,把一些好的
listing并没了,连buybox都变没了,这完全就是自己没得好处还损害别人利益。
W****F
发帖数: 8235
33
来自主题: ebiz版 - 是哪个evil在乱合并listing?
刚才发现BB的HP ENVY x360 M6-aq003dx 的listing被人合并到 samsclub的HP ENVY
x360 15-w117cl X0S30UA#ABA 的listing。你这么evil的行为,会害人不浅。这两款是
不同的电脑。BB的硬盘是7200 rpm,samsclub的是5400 rpm。两款电脑的图片也有差异
,电脑侧边的slot window不同。你这种evil搞法,是想让我们这些按正确listing卖的
卖家按not as described的listing卖,然后吃退货得negative,还是想让我们把货撤
回来让你卖?
s*******t
发帖数: 15
34
这个list是在实时更新的吗?

每次理科的面试都比较早。搞得工程类的也坐立不安。。。。 遥想一下当年自己申请
phd的日子……
希望大家把知道的哪些在面试的或已经发出interview或rej的学校,分享一下给大家看
。要是能说一下是phone interview,onsite or rej,EE还是CS,就更好啦。如果有空
,我会把信息都
copy到主贴下,方便阅读。
谢谢大家~~ 希望大家都offer多多
EECS:
Indiana univ. Working on short list
MSU
VT
UT Austin
U of Miami (12月phone interview list)
University of Utah (phone interview on Jan 22nd)
EE:
Arkansas - Rejection (on Jan. 13rd) x 5
Cornell (Phone interview in the last week of Jan)
Lehigh University (Phone interview scheduled)
Michiga... 阅读全帖
h**G
发帖数: 9825
35
来自主题: FleaMarket版 - 卖完货改list的,全家死死绝
太狠了吧.
有本事自己list啊.没占上坑也不至于咒人家吧.
总有办法create新list的,只是排名下降而已.
人家自己list的,改了也没必要让人死绝吧.
反正我用别人list的时候,都是感恩戴德的.
退一万步讲,要死也该找amazon去磕,没必要表演恼羞成怒这出吧.
哈哈
z*******u
发帖数: 10
36
刚收到学校国际学生办公室的confirmation (见下文):
最新的列表:http://www.ice.gov/sevis/stemlist.htm
SEVIS NOTICE - September 25, 2008
This broadcast message is sent to notify users of a correction to the list
of STEM Designated Degree Programs on the Student and Exchange Visitor
Program Web site. SEVP was recently alerted of an omission to the current
list. Specifically, Chemical Engineering (14.0701) was omitted from the list.
The STEM Designated Degree Programs list is a directory of CIP codes
published by the Natio
n***r
发帖数: 105
37
来自主题: JobHunting版 - 问到linked list 的题目
很close了。我觉得这题是考pointer's pointer。
但我觉得怎么招都得知道前一个node的地址,得把其next pointer赋值为NULL,否则就
断链了。用pointer's pointer的好处是在遍历这个linked list的时候可以省去一个指向前一
个node的pointer。
比如说删除存有item为i的程序就可以这样写,但是还是require work through这个
list,以便持有前一个node的地址。
struct list **lpp;
for(lpp = &list; *lpp != NULL; lpp = &(*lpp)->next)
{
if((*lpp)->item == i)
{
*lpp = (*lpp)->next;
break;
}
}
}

用这段程序,就算删除的对象是尾node,也自动take care了。欢迎讨论
y*********e
发帖数: 518
38
来自主题: JobHunting版 - BST to double linked list的code
Doubly Linked List to Balanced BST:
取LinkedList的中间Node,那就是BST的Root。LinkedList的前半部分,就是BST的Left
Child;后半部分,就是BST的
Right Child。用递归。
public BTree convert(LinkedList list) {
if (list.size() > 0) {
// partition it into three parts: left, middle, right
Partition parts = partition(list);
LinkedList leftList = parts.getLeftSubList();
LinkedList rightList = parts.getRightSubList();
LinkedListNode middle = parts.getMiddle();
BTree root = new BTree(
u**r
发帖数: 663
39
来自主题: JobHunting版 - std::list如何检测环?
list的iterator能造出loop么?
stl的list里头iterator难道不是单调从list.begin()走到list.end()?
H****s
发帖数: 247
40
来自主题: JobHunting版 - std::list如何检测环?
std::list不能有loop而且std::list是doubly linked list, how could a doubly
linked list contains a cycle if the begin() is not equal to end()?
J***2
发帖数: 135
41
来自主题: JobHunting版 - c# 中的list是serialized么?
http://www.mitbbs.com/article_t/JobHunting/32101603.html的12楼,大牛提到“尽然和我说List是serialized的”。 看语气list应该不是serialized。我在msdn中查了list(http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx),在定义上面明确给出了[SerializableAttribute],我有些不明白,如果list不是serialized,为什么会给出这个属性。小弟C#入门时间不久,多多指教。该拍砖拍砖,搞明白这个问题就好。
f*******n
发帖数: 12623
42
Find k smallest numbers in a list of size n:
* Use max-heap of size k, iterate through list
O(n log k)
* Turn entire list into min-heap, then pop k times
O(n + k log n)
* Use worst-case linear-time selection algorithm to find the value of the k'
th smallest element, then partition the list with this value, and take the
first k elements
O(n)
g********o
发帖数: 30
43
问大家一道题,CISCO的。说是要实现一个myMalloc(),每次分配固定的size。固定
的size做起来应该简单不少。解法应该是用两个list,一个记录用过的,一个记录free
的,如果free的有,就把free的头结点去掉,加到used list的头部。假设可以用
malloc一次分配一个MAX_SIZE的大block,如何实现myMalloc和myFree?
这方法是我在事后想到的,不过我在如何初始化这个free list的时候卡住了。请问记
录free list如何初始化,是用n个结点的data来记录每一块内存的位置吗?
s**x
发帖数: 7506
44
来自主题: JobHunting版 - leetcode Sort List
better split into more functions like geeksforgeeks
http://www.geeksforgeeks.org/merge-sort-for-linked-list/
also, I do not think we really need to split the list to half and half first
, need to a similar way for converting single linked list to BST,
from bottom up, move the list accordingly.
still nlogn though.
w**z
发帖数: 8232
45
来自主题: JobHunting版 - 觉得这个startup list 比较靠谱
http://www.7x7.com/WorldDomination#/0
Obvious bias aside, the San Francisco Bay Area is one bad ass region. We
embody ingenuity and create products that people around the world love and
enjoy on a daily basis. You're all very welcome.
Though nothing more than a pen-sized dot on your average globe, a lot goes
down here. Brilliant engineering minds, vibrant recruiting teams, and young
CEOs are becoming a staple in the city—seriously, when else in history has
running a multi-million (sometimes bill... 阅读全帖
a**********0
发帖数: 422
46
来自主题: JobHunting版 - 关于reorder list 的总结
我本来用递归方法 但是超时了 本身代码没错 就是慢 为什么慢 因为在每个递归函数
中有O(n)的操作 这样n次递归导致总体O(n平方)
如果坚持递归方法 需要返回调整好的list的尾节点的下一个节点 这个是从网友那里学
来的 其实这个过程有点tricky 为什么不简单返回 list的头节点或者尾节点 而要返
回尾节点的下一个节点呢? 思路是这样的 尾节点经过调整已经不是原来的尾节点了
它指向的下一个已经不是原来的顺序 那为什么不返回头节点呢 ? 头节点其实不需要
返回 每次用next找就可以了 而且每次拿到头节点也不好用 必须多次next找到尾节点
又超时了
网友的方法 我改编成了java的 后边也有返回尾节点的方法
但是很容易出错 如果面试 还是用循环而不是递归的方法 当然面试无法检查是不是超
时 所以用我最早的方法也可以吧
/**
* Definition for singly-linked list.
* class ListNode {
* int val;
* ListNode next;
* ListNode(int x) {
* ... 阅读全帖
l***4
发帖数: 1788
47
题目是
Given a nested list of integers, returns the sum of all integers in the list
weighted by their depth. For example, given the list {{1,1},2,{1,1}} the
function should return 10 (four 1's at depth 2, one *2 at depth 1). Given
the list {1,{4,{6}}} the function should return 27 (one 1 at depth 1, one 4
at depth 2, and *one 6 at depth 3)
第二个例子我还能理解,第一个例子为啥有四个1在depth 2啊?难道不应该是两个1在
depth 1,一个2在depth 2,还有两个1在depth 3吗???
求拍醒
c**********a
发帖数: 659
48
我觉得jobhunting 版应该多开几个list, 列出一些公司,这些公司一般有一些属性。
如list of companies 不招new grads 的,如 intuit, 我以前不知道这个公司不招new
grads, 刚毕业的时候,投了几个他家的职位,还等着被面试,现在想就是浪费时间。
还有list of companies 不爱 sponsor h1b, list of companies 政治斗争激烈,等。
T*****i
发帖数: 157
49
这个condo 的list price大概在250k,bank-owned。我们的buyer agent对此房估价275k
. 所以他建议我们出高于list price 来make offer, 请问大家一般出offer 要比list
price 高吗?高多少比较合适呢?
或者<=list price呢?谢谢!
这是我们的第一个offer, 没有经验,总担心buyer agent 和 seller是一伙的。 请高
人指教。
n*******9
发帖数: 3244
50
你朋友买的房要真是REO房的话,那个listing agent 就别再想从这家bank拿listing了
。listing price和sold price差15万?! where did he get the listing price in
the 1st place?!
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)