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

[CareerCup] 2.3 Delete Node in a Linked List 删除链表的节点

时间:2015-07-19 13:20:37      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:

 

2.3 Implement an algorithm to delete a node in the middle of a singly linked list, given only access to that node.
EXAMPLE
Input: the node c from the linked list a->b->c->d->e
Result: nothing is returned, but the new linked list looks like a- >b- >d->e

 

LeetCode上的原题,请参考我之前的博客Delete Node in a Linked List 删除链表的节点

 

[CareerCup] 2.3 Delete Node in a Linked List 删除链表的节点

标签:

原文地址:http://www.cnblogs.com/grandyang/p/4658465.html

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