天天看点

Leetcode: Remove Linked List Elements

set Dummy node

 这题有个重要的follow up,就是在一个环里怎么删除节点:

参考:http://www.cnblogs.com/EdwardLiu/p/5975748.html