---
title: "Discussion on \"LeetCode - 21. Merge Two Sorted Lists\" | Hashnode"
description: "Discussion on \"LeetCode - 21. Merge Two Sorted Lists\". Solution with comments\n\n//===========    visualization    ====================\nInitial state:\nl1: { val: 1, next: { val: 2, next: { val: 4, next: null } } }\nl2: { val: 1, next: { val: 3, next: { val: 4, next: null } } }\n//===========    visualization..."
url: "https://hashnode.com/posts/leetcode-21-merge-two-sorted-lists/64323fe26f56e85d78b466aa"
---

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

Discussion

# [LeetCode - 21. Merge Two Sorted Lists](https://jason60810.hashnode.dev/leetcode-21-merge-two-sorted-lists?utm_source=hashnode&utm_medium=feed)

Solution with comments //=========== visualization ==================== Initial state: l1: { val: 1, next: { val: 2, next: { val: 4, next: null } } } l2: { val: 1, next: { val: 3, next: { val: 4, next: null } } } //=========== visualization...

Apr 9, 2023 · 5 min read · jason60810.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[Jason Chen](https://hashnode.com/@jason60810)

@jason60810

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

Nothing is true, everything is permitted.

Nothing is true, everything is permitted.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
