leetcode.com Open in urlscan Pro
2606:4700:20::681a:865  Public Scan

URL: https://leetcode.com/problems/delete-node-in-a-linked-list/submissions/931325622/
Submission: On February 12 via manual from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

   
 * 

Problem List
Problem List







RegisterorSign in
Premium
Debugging...


Run


Submit

Description
Description

Editorial
Editorial

Solutions
Solutions

Submissions
Submissions


Code
Code


Testcase
Testcase

Test Result
Test Result





🔥 Join LeetCode to Code!
View your Submission records here
Register or Sign In

All Submissions


C++



Auto

1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Definition for singly-linked list.
 * struct ListNode {
 *     int val;
 *     ListNode *next;
 *     ListNode(int x) : val(x), next(NULL) {}
 * };
 */
class Solution {
public:
    void deleteNode(ListNode* node) {
        
    }
};










Saved to local
Ln 1, Col 1
You need to Login / Sign up to run or submit
Case 1Case 2
[4,5,1,9]
5
1
[4,5,1,9]










Source



FindHeaderBarSize
FindTabBarSize
FindBorderBarSize
Introducing Dynamic LayoutNEW
Unleash your potential with the immersive and flexible coding environment

Show Run & Submit buttons in

ToolBar

Code Editor

You can change the preference at any time in the settings
Enable Dynamic Layout





word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word word word word word word word word word
word word word word word word word word

mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1
mmMwWLliI0fiflO&1