DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
deleteNode javascript
const deleteNode = (node) => { node.val = node.next.val; node.next = node.next.next; };
Source by leetcode.com #
PREVIOUS
NEXT
Tagged:
#deleteNode
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit