Skip to content

Commit 821b727

Browse files
committed
cpp
1 parent 4de4804 commit 821b727

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

June 2020 challenge day2.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class Solution {
2+
public:
3+
void deleteNode(ListNode* node) {
4+
node->val=node->next->val;
5+
node->next=node->next->next;
6+
}
7+
};

0 commit comments

Comments
 (0)