您的位置:首页 > Web前端 > Node.js

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

2015-07-19 12:31 716 查看
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 删除链表的节点
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: