码迷,mamicode.com
首页 > 其他好文 > 详细

1.3.23

时间:2018-05-19 13:00:25      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:The   instead   target   time   targe   ref   origin   block   span   

question:

why does the following code fragment not do the same thing as in the previous question?

x.next = t;
t.next = x.next;

answer:

when it comes time to update t.next, x.next is no longer the original node fllowing x, but is instead t itself.

1.3.23

标签:The   instead   target   time   targe   ref   origin   block   span   

原文地址:https://www.cnblogs.com/w-j-c/p/9059941.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!