---
title: "Discussion on \"[Solution]237. Delete Node in a Linked List\" | Hashnode"
description: "Discussion on \"[Solution]237. Delete Node in a Linked List\". Problem\nProblem_Link\nSolutions (time, space)\nO(1), O(1)\n/**\n * Definition for singly-linked list.\n * public class ListNode {\n *     int val;\n *     ListNode next;\n *     ListNode(int x) { val = x; }\n * }\n */\nclass Solution {\n    public void deleteNod..."
url: "https://hashnode.com/posts/solution237-delete-node-in-a-linked-list/63ac80ccadcc5dc4d7efdedf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Solution\]237. Delete Node in a Linked List](https://eunhanlee.hashnode.dev/solution237-delete-node-in-a-linked-list?utm_source=hashnode&utm_medium=feed)

Problem Problem\_Link Solutions (time, space) O(1), O(1) /\*\* \* Definition for singly-linked list. \* public class ListNode { \* int val; \* ListNode next; \* ListNode(int x) { val = x; } \* } \*/ class Solution { public void deleteNod...

Dec 28, 2022 · 1 min read · eunhanlee.hashnode.dev  
Read the article

-   [#237-delete-node-in-a-linked-list](https://hashnode.com/tag/237-delete-node-in-a-linked-list)
-   [#delete-node-in-a-linked-list](https://hashnode.com/tag/delete-node-in-a-linked-list)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#solution](https://hashnode.com/tag/solution)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

  
[View profile](https://hashnode.com/@EunHaSu)

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
