p*7
2 楼
A graph is given. You need to design a data structure with minimum space
complexity such that it does the follows
complexity such that it does the follows
E*A
3 楼
漂亮
j*w
4 楼
Adjacent matrix.
http://en.wikipedia.org/wiki/Adjacency_matrix
If A is the matrix. A * A can give info about a path of length 2, if my
memory is right.
http://en.wikipedia.org/wiki/Adjacency_matrix
If A is the matrix. A * A can give info about a path of length 2, if my
memory is right.
m*m
5 楼
hao kan.
p*7
6 楼
问题是怎么在O(N)找到是否有length为N 的path,Adj matrix 能work?
【在 j**w 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: Adjacent matrix.
: http://en.wikipedia.org/wiki/Adjacency_matrix
: If A is the matrix. A * A can give info about a path of length 2, if my
: memory is right.
【在 j**w 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: Adjacent matrix.
: http://en.wikipedia.org/wiki/Adjacency_matrix
: If A is the matrix. A * A can give info about a path of length 2, if my
: memory is right.
i*h
7 楼
真好看,疯狂的嫉妒你们
p*7
8 楼
我想的是create a table,把所有可能的路径都放进table里面,如果a-c有多个路径
,就用linked list放并且按路径长度排序,需要查是否有路径N的就遍历linked list
,这样就复杂度就刚好是N了。出这个题的人真变态,当场想能想出来真不容易。
,就用linked list放并且按路径长度排序,需要查是否有路径N的就遍历linked list
,这样就复杂度就刚好是N了。出这个题的人真变态,当场想能想出来真不容易。
g*2
11 楼
面不干,还准备做抹茶皮的,现在有点不敢做了,害怕馅儿又漏出来。
你做馅儿那个方子很赞啊,绿豆馅儿特别香。
你做馅儿那个方子很赞啊,绿豆馅儿特别香。
l*3
15 楼
我发现你的月饼模子很漂亮,三个还都不相同呢,是塑料的还是木头的?
L*n
18 楼
ebay, moon cake mold
http://www.ebay.com/sch/i.html?_nkw=moon+cake+mold+
http://www.ebay.com/itm/moon-cake-mold-set-4-stamps-125g-round-
pt=LH_DefaultDomain_0&hash=item2a0cad7f5d
http://www.ebay.com/itm/moon-cake-mold-4-stamp-125g-square-chin
/180706007230?pt=LH_DefaultDomain_0&hash=item2a12ead8be
http://www.ebay.com/itm/moon-cake-mold-63g-round-set-4-stamps-/
pt=LH_DefaultDomain_0&hash=item2a0bea8d9d
【在 l********3 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 你在哪里买的,网上还是你们当地的中国城?我还想再装备一个
g*2
19 楼
ebay上买的,搜mooncake mold,两天就到了
l*3
20 楼
收到,谢谢
【在 L*********n 的大作中提到】![](/moin_static193/solenoid/img/up.png)
:
: ebay, moon cake mold
: http://www.ebay.com/sch/i.html?_nkw=moon+cake+mold+
: http://www.ebay.com/itm/moon-cake-mold-set-4-stamps-125g-round-
: pt=LH_DefaultDomain_0&hash=item2a0cad7f5d
: http://www.ebay.com/itm/moon-cake-mold-4-stamp-125g-square-chin
: /180706007230?pt=LH_DefaultDomain_0&hash=item2a12ead8be
: http://www.ebay.com/itm/moon-cake-mold-63g-round-set-4-stamps-/
: pt=LH_DefaultDomain_0&hash=item2a0bea8d9d
【在 L*********n 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: ebay, moon cake mold
: http://www.ebay.com/sch/i.html?_nkw=moon+cake+mold+
: http://www.ebay.com/itm/moon-cake-mold-set-4-stamps-125g-round-
: pt=LH_DefaultDomain_0&hash=item2a0cad7f5d
: http://www.ebay.com/itm/moon-cake-mold-4-stamp-125g-square-chin
: /180706007230?pt=LH_DefaultDomain_0&hash=item2a12ead8be
: http://www.ebay.com/itm/moon-cake-mold-63g-round-set-4-stamps-/
: pt=LH_DefaultDomain_0&hash=item2a0bea8d9d
g*A
21 楼
好漂亮
皮裂的恰到好处
要不裂的话你要加奶油进去
皮裂的恰到好处
要不裂的话你要加奶油进去
R*s
22 楼
为毛大家都会做月饼。。。
相关阅读
微薄上看到的某律师关于今年的H1b收件数skype coding interview可以用eclipse吗?求教怎么准备system design的问题08年H1B抽签带来了OPT extension,今年如果抽签会带来什么新政策?马工就别靠内推找工作了leetcode之后该干嘛FY2014 名额满了PhD in EE 求refer (RF, microwave, etc)报个G家Offer, 顺便向大侠们赐教~~~~~Bloomberg FSD Intern 面经这些小公司公司招人不,怎么招?Google project match看来是要悲剧了上周五面的G家,一般什么时候能得到信儿?Amazon onsite 需要穿正装不?长期推荐Houston CS (.net)工作RF 面经爆一个ICC要不要找新工作, 求建议办H1B,工资略低于prevailing wage, 可以趁此要求加工资吗?老中苦幹實幹 總是首先被裁