Yuan Liu's Blog
Sunday, August 30, 2015
Leetcode 237. Delete Node in a Linked List
https://leetcode.com/problems/delete-node-in-a-linked-list/
Very basic operation.
node.val = node.next.val
node.next = node.next.next
Run time is 68 ms.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment