We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cba8571 commit 83c08d8Copy full SHA for 83c08d8
solution/237.Delete Node in a Linked List/Solution.js
@@ -0,0 +1,4 @@
1
+const deleteNode = function(node){
2
+ node.val = node.next.val;
3
+ node.next = node.next.next;
4
+}
0 commit comments