由买买提看人间百态

topics

全部话题 - 话题: tailed
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
S*********n
发帖数: 4050
1
Son, you brain is too limited to understand what is bigger -
Big Risk: $1.2 Quadrillion Derivatives Market Dwarfs World GDP
By Peter Cohan Posted 10:45AM 06/09/10 Economy, Investing, Investing Basics
Comments Text Size A A A
213413100
One of the biggest risks to the world's financial health is the $1.2
quadrillion derivatives market. It's complex, it's unregulated, and it ought
to be of concern to world leaders that its notional value is 20 times the
size of the world economy. But traders rule t... 阅读全帖
l****z
发帖数: 29846
2
就和你讲讲事实而已,有什么好装的.
讲到Chinese buffet是因为我想吃中餐的时候就会去吃.反正美国也没有什么正宗的中
国菜, 而且很便宜. 要吃正宗的中国菜只能回国吃. Flushing的北京烤鸭和北京的烤鸭
王完全不在一个档次.
我都说了我以前出差75%, outback,red lobster,long horn,texas road house这种地
方都和同事一起去了无数次了. 不会超过$40/人的. Red lobster一个tail加6ounce的
steak才$20左右吧,再加一个tail也就6刀, two sides都是free的.加diet coke,加小费
怎么可能超过$40?
而且平时我都不去这种连锁店,因为这种food每个州都差不多,出差两周去两次顶多了.
要去都是去local比较有名的,但不是连锁店的那种.
实际上我原来公司的dinner guide就是40刀,除非比较好的饭店或者是日本餐你要点多
一点shasimi的,或者你特别想吃的好点才会超过,比方你冷菜要个prosciutto
或者一打oyster, 否则一般不会超过的.
l****z
发帖数: 29846
3
来自主题: USANews版 - 人兽恋果然开始了
A dolphin seduced me, and we enjoyed a torrid year-long affair
By Reed Tucker
February 2, 2015 | 2:41pm
This tale sounds a bit fishy.
In a documentary movie that premiered at Utah’s Slamdance Film Festival
last week, a man details his year-long affair with a dolphin. No word yet on
when “Dolphin Lover” will be coming to a theater — or aquarium — near
you.
Malcolm Brenner, now 63, says he was working as a photographer at Sarasota
theme park Floridaland in 1971 when he met Dolly, a female dolphin.... 阅读全帖
T*********I
发帖数: 10729
4
和tail light没关系吧。警员呼叫中心说他觉得嫌犯和一起持械抢劫案的嫌犯有像。
he didn’t have a permit to carry, the girlfriend lied just as she did about
being pulled over for a tail light, when the officer radio’d his
dispatcher it was stated he resembled a suspect wanted in connection with an
armed robbery that occurred a couple days earlier.
黑人撒谎的太多。完全是种族主义。只要是黑人就帮说。我记得催旺作证的老黑也是漏
洞百出稀拉百出。
d*2
发帖数: 2053
5
https://finance.yahoo.com/news/citi-people-arent-taking-possibility-
123424335.html
[Bloomberg]
Julie Verhage
September 13, 2016
Trump tail risk?
A new note from Citigroup Inc. says that while the firm still puts the
probability of Hillary Clinton securing the U.S. presidential election at 65
percent, investors are not taking the remaining chance of a win by Donald
Trump very seriously.
"A 35 percent probability for a Trump victory is more meaningful than
investors may be appreciating," the team... 阅读全帖
s***5
发帖数: 453
6
http://fivethirtyeight.com/features/election-update-why-our-model-is-more-bullish-than-others-on-trump/
As I wrote last week, Hillary Clinton is probably going to become the next
president. But there’s an awful lot of room to debate what “probably”
means.
FiveThirtyEight’s polls-only model puts Clinton’s chances at 85 percent,
while our polls-plus model has her at 83 percent. Those odds have been
pretty steady over the past week or two, although if you squint you can see
the race tightening just... 阅读全帖
s******n
发帖数: 113
7
来自主题: Automobile版 - 美国人一个有趣的parking习惯
主要还是安全策略。
过去国内的老司机都知道尽量不在陌生的地方倒车,倒车越多,剐蹭的机会越多。
入位时,行驶方向空间小,出位时,行驶方向空间大,所以head-in/tail out相对风险
最小。
对于前驱车来说,这样做的前提是车位间距和过道的宽度足够大,正好适合美国的大多
数情况;中国国内停车场空间小,通常还有人帮忙指挥,还是tail-in/head-out更便捷。
无论在美国还是中国,遵从与大多数人相同的停车习惯才是最安全的。
l**********i
发帖数: 11748
8
tail light lamp or just tail light
driver side passenger side
车尾灯好换, 去ebay买part
去youtube搜教程或者直接读manual
一般的车50以内就能搞定
l*******a
发帖数: 878
9
是好像连着里面的灯泡的。
经二楼提醒,我查了manual,我掉的那个不是tail light,是rear side marker light
,貌似比换tail light简单。
请问楼上两位在哪儿买的零件啊?
C********s
发帖数: 495
10
来自主题: Automobile版 - Shall I go thru Insurance for body work?
Ran into a post over the weekend and now there is a pretty deep dent on the
trunk lid, one broken tail-light, scratches on the bumper
A local body shop estimated the job to be $2500 including new trunk lid (
with paint), new tail-light and touching up the bumper. I could send the car
to a different body shop but I doubt the price tag will be much different
The body shop suggests going thru insurance as I have comprehensive and
there may be hidden damage not included in the estimate now. The guy
... 阅读全帖
h****l
发帖数: 473
11
来自主题: Automobile版 - 我再来说说老美开车的恶习吧
老美:
1.快红灯了不刹车,猛踩油门
2.STOP和红灯到了跟前才猛刹车
3.喜欢side by side, shoulder to shoulder,tail after tail
国内现在新警察实在太多,防不胜防。
总的来说,老美的road manner比国人还是好多了。大部分美国人车技比老中是好多,
在美国遇到些不靠谱的司机,多是亚洲和女性面孔。
b*********n
发帖数: 2975
12
来自主题: Automobile版 - 我再来说说老美开车的恶习吧
这是不是反着说话的,呵呵

老美:
1.快红灯了不刹车,猛踩油门
2.STOP和红灯到了跟前才猛刹车
3.喜欢side by side, shoulder to shoulder,tail after tail
国内现在新警察实在太多,防不胜防。
总的来说,老美的road manner比国人还是好多了。大部分美国人车技比老中是好多,
在美国遇到些不靠谱的司机,多是亚洲和女性面孔。
W*******d
发帖数: 446
13
来自主题: Automobile版 - Golf GTI 2.0T再花一万刀MTM改到310hp
There are fairly amount of torque steer for both (chiped GTI and MS3). You
have to regulate your foot on gas, but that's the way FWD suppose to be
driven anyway. You are not getting much if you floor gas pedal.
RWD car also have torque steer problem,but it's on the tail. Try to floor
high power car like Corvette, the tail will want to come out in either
direction randomly. pretty scary too.
c*********e
发帖数: 62
14
来自主题: Automobile版 - 也买了 VW 2013 CC
恩 本来有一辆白色的车有tail spoiler,报价单上写那个东西值400块钱。结果由于我
讲价,那个sales给我换了一个没有tail spoiler的,就把成交价降了500,还没有告诉
我他换了一辆车,后来签了所有的东西我才发现给我换了一辆。我开始还奇怪呢,怎么
这么爽快就降了500。
你的那辆车还带了 floor mat和chrome exhaust tips,我的都没有的。
m**i
发帖数: 301
15
lz在什么州?看看以下rule可能有帮助:
Pacing
Many speeding tickets result from the police officer following or “pacing”
a suspected speeder and using his or her own speedometer to clock the
suspect’s speed. With this technique, the officer must maintain a constant
distance between the police vehicle and the suspect’s car long enough to
make a reasonably accurate estimate of its speed. Some states have rules
that the officer must verify speed by pacing over a certain distance. (For
example, at least one-eighth o... 阅读全帖
m**i
发帖数: 301
16
lz在什么州?看看以下rule可能有帮助:
Pacing
Many speeding tickets result from the police officer following or “pacing”
a suspected speeder and using his or her own speedometer to clock the
suspect’s speed. With this technique, the officer must maintain a constant
distance between the police vehicle and the suspect’s car long enough to
make a reasonably accurate estimate of its speed. Some states have rules
that the officer must verify speed by pacing over a certain distance. (For
example, at least one-eighth o... 阅读全帖
a*o
发帖数: 19981
17
换道又没有快感,频繁换那是有频繁换的需要,比如几个慢车并排在左边两道慢慢爬,
右道空着当然只好到右道包抄过来,难道只有忍着吗?还是你觉得tail gate更安全?
遇到个二百五乌龟精发现有人tail gate不但不让开还故意减速继续慢慢爬。
相信你要是有信心换道也会来回换一圈lane。大路空空荡荡谁也不会来回扭麻花玩儿。
r***y
发帖数: 4379
18
分地方, 俺们这旮旯要五〇〇刀了
U-Haul: 2012 Volkswagen Touareg All Wheel Drive trailer hitch components
Hitch receiver
Hitch
Square Tube 2 inch Rec. (Powder Coat)
Class 3 hitch
Max weight: 6,000 lbs,
Part number: 75240
Hitch Installation Guide - Model 75240
Hitch image shown is for display purposes only and may not reflect the
actual hitch for this vehicle.
$219.95
Ball mount
Ball mount for 2" receivers. 2-1/4" drop with 7-1/2" length.
Trailer weight capacity: 7500 lbs.
Tongue ... 阅读全帖
w*******s
发帖数: 1644
19
Road TestSE Hybrid 4-cyl CVT
In a class generally known for bland styling and a lack of driving
excitement, the redesigned 2013 Fusion is a fresh, charismatic newcomer. But
like some promising and talented celebrities, it has just enough quirks to
erode your enthusiasm.
The new Fusion looks upscale and stylish, and it handles like a really good
European sports sedan. We bought three versions: a top-trim Titanium, a mid-
trim SE, and the SE Hybrid. All versions provide a composed, civilized ride
... 阅读全帖
Y****r
发帖数: 3473
20
Tail-light不亮,power-supply出了问题
it can be just a fuse, find the fuse box first (do you know how?) take the
fuse out (there is probably a tweezer for this purpose in the box) - you
need to study the label on the box to see which one is for tail light, look
at the fuse if it is burned then go to a autopart store, buy a new fuse and
put it in
u*******g
发帖数: 1808
21
记得英文名字是tail gater,我自己把它翻译成“追尾”,估计这个误导大家了。把标
题和帖子中的“追尾换掉了”
===========
前几天出门租了一辆 Chevrolet Captiva 在i5上跑了200多个迈。2次被人跟的特别近
,都是大号的suv,如果真的装上估计我也会受伤。
我在最左lane,前面被车压着,速度68,限速70。所以我往右边让,他也过不去。
右面车子不少,而且挺慢。所以我不打算往右边让。
驾校教练说过点刹车,后面的看到后也会刹车,就远了。一个家伙点刹车真的管用,但
是另外一个我点了好几次,他只会越来越近,(觉得他不愿意踩刹车,想省油)好几次
电完刹车反光镜看到几乎挨上了。这让我特别不舒服。
对付第二个,我就是逐渐减速,直到比右边还慢很多,前面也和前车有很大的车距。那
家伙急眼了换到右lane,我在反光镜看到后,立即加速,一下跑好远。等他换回来估计
中间应该隔了好几辆车了。
为了对付第二个tail gater的,不得已自己做了left lane blocker。殃及了后边不少
无辜。但是实在不知道有什么更好的办法。
希望大家分享一下自己怎么处理这种人的。
e******g
发帖数: 5344
22
来自主题: Automobile版 - 后车灯塑料罩子撞碎了哪里配?
https://www.subarugenuineparts.com/oe_parts_cat.html
这儿,你左边选择tribeca,然后选择2009, 右边选择Lamps & Lights,然后选择
rear lamps,然后选择tail lamps,然后选择tail lamp assly, 最后一个就是了。
w****e
发帖数: 1883
23
来自主题: Automobile版 - 还不太相信雪胎作用的请进
失控时当然可以主动输出动力, 尤其是oversteer correction的时候,counter steer
的同时输出动力可以帮助车体更快回到traction的状态,当然你的手要稳,不然就会
over correct加失控。这个时候AWD优势就体现出来了,因为动力分配到四个轮子上,
每个轮子的traction余量更大,其实就是相当于一个2WD装了traction更大的轮胎,但
是他的优势是可以根据当时的情况实时调整。所以不需要太专业的人士也能主动控制。
我知道你在FL,所以fish tail是个很极端的情况。但是你要在东北部的雪地里开过就
知道在tail break loose之后,counter steer加轻踩油门是多么常见的一件事了。如
果没有油门,只是counter steer,可能需要三秒钟,而如果同时适当给油的话,通常会
马上改出。而2WD,尤其是FWD的车,失控之后基本只能被动等待,充其量转转方向盘。
e******g
发帖数: 5344
24
来自主题: Automobile版 - 想起一个用电动门的同事
同事买了辆车,带power tail gate的, 昨晚帮他搬宜家家具的时候下车正准备帮他把
tail gate打开,结果被制止了,他非要掏出钥匙按一下,等待那破门缓慢上升,说直
接开怕把电机搞坏了。晕,好吧。结果东西搬出来后正准备直接关上的时候又被他制止
了,非要再次按钥匙让电动门自己缓缓关上,理由一样,怕电机搞坏,而且觉得门自动
关上的话关得松紧正好。。。wtf。。
g********i
发帖数: 50
25
最近在看几辆车,价格合适就准备出手。
一个是2014 cla 250 4Matic。有大概三四家dealer都有这个款的loaner车挂出来卖,
里程从3000多miles到5000多miles不等。
配置和价格大概是这样的(都是4Matic):
cla 250 #1:
Mileage: 3,338 miles
Options: P01 Premium Package
MSRP $35,125
Sale $31,000
cla 250 #2:
Mileage: 3,631 miles
Options: Heated Front Seats
MSRP $33,625
Sale $29,991
cla 250 #3:
Mileage: 5,936 miles
Options: Premium Package, Becker MAP PILOT, Drive Kit Plus iPhone, Bi-Xenon
Headlamps w/ LED Tail Lamps
MSRP $37,915
Sale $33,998
cla 250 #4:
Mileage: 2,211 miles
Optio... 阅读全帖
j*****A
发帖数: 1395
26
来自主题: Automobile版 - 半年拿两张同样的Fix ticket
半年前在一大早在110上被一个警察pull out 到路肩,说我的tail light out了, 给
了个罚单,说换下灯泡,到警察局检查一下,交 25的罚金就好了,没想到刚过半年
,今早刚上10号又被警察抓到,说我 tail light not working, cut lane very
dangerously. 俺跟警察说几个月前尾灯坏了刚换过,没想到又坏了,他说一般人不会
常常忘记看尾灯,这次不给我fine,我当时还谢谢他,没想到最后还是给了我一样的
fix ticket.
b*****u
发帖数: 1556
27
没有hitch receiver,用strap mount,承重有限而且有点晃。
很多地方可以装hitch receiver,再买hitch bike rack。好牌子的yakima和Thule。实
惠的牌子很多例如Allen Sports。
hitch rack有tilt和swing两种,常挂着自行车开tail gate的适合swing,常不挂自行
车开tail gate的适合tilt。
还有装顶上的,个人觉得比较麻烦,而且风噪大。
a****2
发帖数: 3735
28
来自主题: Automobile版 - 本田销售代表进来解释解释:
http://www.odyclub.com/forums/81-2018-odyssey/303330-quality-issues.html
花了我一个多小时翻了31页四百多层楼,有热心网友汇总了大部分问题:
http://www.odyclub.com/forums/attachments/2018-odyssey/114057d1502682673-quality-issues-ody-issues.doc
Owner Identified Issues with 2018 Honda Odysseys
(As of August 13/17)
Blue items are problems/issues which have been frequently identified.
Items indicated as [NEW] are problems/issues added to the list since last
posted.
Interior:
• Driver’s armrest mounted too high. Uncomfortab... 阅读全帖
L***s
发帖数: 9258
29
你这两段话是两个极端,中间还有大多数cases呢。没学过统计?
两个分布,分布A的mean比分布B的mean要大,STD要小,统计意义上A就比B大。但是你要
非要拿A的左tail和B的右tail去比,然后说B比A大,那谁也没办法。

途?
S*****r
发帖数: 1272
30
来自主题: Faculty版 - 史上最富教授
James Harris "Jim" Simons (born 1938) is an American mathematician, hedge
fund manager, and philanthropist. He is a code breaker and studies pattern
recognition.[4]
Simons was a professor of mathematics at Stony Brook University and was also
the former chair of the Mathematics Department at Stony Brook.
In 1982, Simons founded Renaissance Technologies, a private hedge fund
investment company based in New York with over $25 billion under management.
Simons retired at the end of 2009 as CEO of one... 阅读全帖
u*****n
发帖数: 160
31
来自主题: Investment版 - 理工科兄弟进来讨论一下M2M (转载)
“How many legs does a dog have, if you call his tail a leg? The answer is
four, because calling a tail a leg doesn't make it a leg.”---Lincoln
k*k
发帖数: 49
32
来自主题: JobHunting版 - 请教几个面试问题
2. Implement put/get methods of a fixed size cache with LRU replacement
algorithm.
refer to java LinkedHashMap
basic idea is following:
store elements using hash map/table, use an additional double link list to link up each elements
1) the list keeps a head/tail pointer
2) when an element is inserted/cached, add to head
3) when an element is removed
3.a remove from the hashmap
3.b remove from list, relink the linked list
3.c if that element is head or tail, update list accordingly
4) when an ele
k*k
发帖数: 49
33
来自主题: JobHunting版 - 请教几个面试问题
Yes. should be added to the head.
thx.
and it is double linked list. you can access the tail.prev (the 2nd least
recent) from tail (the least recent) when perform removing.
t********e
发帖数: 25
34
来自主题: JobHunting版 - 这个Binary Tree的题来看看
2. Let's say n == 3;
n1->head, n1++
n2->tail, n2--
n3->tail - length/3, n3--.
Move n3 if n2 overflow.
Assume equal probability to be used.
r*****e
发帖数: 264
35
来自主题: JobHunting版 - 刚面完的2道题,我做的稀烂
I can give the idea on the first one:
If it is not the tail, copy the content of the next node to this node,
delete the next node. -- O(1)
If it is the tail, have to traverse the list until you reach the previous
node. -- O(n)
Special case: head removal.

3
P*******e
发帖数: 1353
36
来自主题: JobHunting版 - 麻烦大家看看这个题目什么意思?
link是单向的?貌似是tail连了tail,然后configuration就是打印出每个节点吧,可能
本质上就是让你reverse第二个link list,已知的东西是有些多。。。不过也可以用上
f****4
发帖数: 1359
37
来自主题: JobHunting版 - "简单的"linklist的问题
Reverse a linked list iteratively, do it first with single pointers and then
do it again with double pointers. Now do it again recursively but not tail-
recursive, and then do it again tail-recursively. What do you do if it has a
loop?
http://cpuzz.blogspot.com/2005/07/reverse-single-linked-list-using.html
第一个问题的解,真要是面的时候给问到,脑子一下没转过弯来,肯定答不出来。。。
j**l
发帖数: 2911
38
来自主题: JobHunting版 - BST和有序双向链表的相互转换?
要求in place就地转换
1.从BST转为sorted doubly-linked list可以用类似中序遍历的递归方法做,结果唯
一。
2.那么反过来,从sorted doubly-linked list转换为一棵BST, 结果不唯一,该如何
做才能尽可能的保证BST是平衡的呢(minimal height)?如果是从sorted array转为最
小高度的平衡BST,有类似binary search的思想。对双向链表,有什么好的思路?
1的白板代码如下
void TreeToList(Tree* root, Tree* &head, Tree* &tail)
{
// This is a very special case
if (root == NULL)
{
head = NULL;
tail = NULL;
return;
}
Tree* temp_head;
Tree* temp_tail;
if (root->left != NULL)
{
i*****e
发帖数: 113
39
来自主题: JobHunting版 - Amazon电面问题求大牛解答
没有重复
可以想象成二叉树,从左到右递归
4--6--8--10
\/ \/ \/
/\ /\ /\
0--0--0--0
从左到右递归
#!/usr/bin/env runhaskell
count [] 0 = 1
count [] _ = 0
count a s = count (tail a) s + count (tail a) (s - head a)
main = print(count [4, 6, 8, 10] 18)
d****2
发帖数: 6250
40
来自主题: JobHunting版 - one amazon interview problem

try to prove 正方向找到的连续两个序列不可能头一个的tail和下一个的head组成一个更
大的序列?这个tail 和 head是按 1 来算得。
UD
发帖数: 182
41
来自主题: JobHunting版 - one amazon interview problem
below code seems to work, and should be O(n) time and O(1) space, if you disagree, please list your argument.
The idea behind is the use and resue of sum(i,j), that's why the O(1) space.
sum(i,j)=sum of all the 1s between i and j.
sub-seq(i,j) has equal 1s and 0s when sum(i,j)*2=j-i+1, we start by setting i=0,j=A.length-1, then searching from both ends.
1. if sum(i,j)*2==j-i+1, then found it
2. else if sum(i,j)*2>j-i+1, we have more 1s then 0s, then we check A[i] and A[j]:
a. if A[i]==A[j], t... 阅读全帖
g*****k
发帖数: 623
42
来自主题: JobHunting版 - one amazon interview problem
your proof is totally wrong, I have to say.
when head and tail are equal, it is not same to trim from either end.
when head and tail are not equal, and it is not always true to trim the end
that is 1.

need
or
UD
发帖数: 182
43
来自主题: JobHunting版 - one amazon interview problem

end
I kind of believe trim from head or tail, only affects which one of all the
correct results to return - there could be many good results.
for example: for your input
1,1,0,0,1,0,1,1,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1
if I trim from head, I will eventually get 001011010101
if I trim from tail, I will eventually get 100101101010
they are both correct answers.
UD
发帖数: 182
44
来自主题: JobHunting版 - one amazon interview problem

head
head
There were more context in my original post:
when there are more 1s than 0s, when head and tail are not equal, trim end
with value 1.
when there are more 0s than 1s, when head and tail are not equal, trim end
with value 0.
So, not always trim the end with value 1.
j*****u
发帖数: 1133
45
来自主题: JobHunting版 - Offer + 很多面经
BST->sorted link list in C#,lz能说说这个题什么地方tricky吗?
public static ListNode BST2LinkList(TreeNode root)
{
if (root == null)
return null;
var head = new ListNode();
var tail = head;
Convert(root, ref tail);
return head.Next;
}
private static void Convert(TreeNode treeNode, ref ListNode tailNode)
{
if (treeNode != null)
{
Convert(treeNode.Left, ref tailNode);
tailNode.Next = new ListNode { Value = treeNode.Value };
tailNode = tailNode.Next;
... 阅读全帖
j********x
发帖数: 2330
46
来自主题: JobHunting版 - Bloomberg phone interview (intern)
1. what is operator overloading
2. c++ operators that cannot be overloaded
3. why operators like && should not be overloaded
4. why prefer non-member binary operator overloading
function
5. what is pure virtual function
6. can abstract class be extended?
7. how to indicate error in ctors?
8. what is auto_ptr, its restrictions? how to remedy it?
9. write a reverse function to reverse the digits of an
integer. what if the integer can be negative?
10. brain teaser: a pile of coins, 10 tails and 90 ... 阅读全帖
R***i
发帖数: 78
47
来自主题: JobHunting版 - CareerCup的题答案错了?removeDuplicate
最后不用set input[tail] = 0;
只要return 0, tail的array就好
g*****n
发帖数: 31
48
来自主题: JobHunting版 - Amazon的LRU设计题
LRU cache,如果已经满了 要insert一个新的 就要把lru(tail)那个干掉。。。
不是double link的话 就不知道下次哪个是tail了。。。

2
h******6
发帖数: 2697
49
很奇怪的是我只做了online assessment in C,也没什么电面,直接就让我过去onsite
了。跟其
他人一样,BB包所有费用+$50GC。顺便感叹下,NYC的出租车开得真猛……
只面了第一轮那两个人,然后就让走人了……之前准备工作也没做好,失败的第一次…
…两道题为:
1. 一个数组,每个元素是一个结构体。结构体定义只有一个成员为int类型名字叫做
color,或者为
绿,或者为蓝。问如何把所有绿色的排在数组的最前面,把所有蓝色的归类到数组的最
后面。我的算法
是用两个指针,一个为head一个为tail,head往后挪,tail往前挪,任何一个指针碰到
不符合要求的
就停止挪动,等另一个指针也碰到不符合要求的了就swap。1 pass, O(n)。
2. 就死在这个题上了。给了一个void *sysMalloc (size_t sizeBytes)和一个void
sysFree (void *, size_t sizeBytes),问如何实现malloc和free。由于本人平时涉猎
太少
(而且我的本科数据结构或者编程语言的课程真的没讲过!I swear!),完全不知道... 阅读全帖
p*****a
发帖数: 147
50
来自主题: JobHunting版 - reverse链表
Following the idea:
void List::reverse()
{
reverselist(head);
}
Node* List::reverselist(Node* link)
{
if (!link || ! link->next) {head=link; return link;}
Node* tail=reverselist(link->next);
tail->next=link;
link->next=NULL;
return link;
}
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)