LeetCode Day 2: Merge Two Sorted Lists (Easy) | Python Solution Explained
In this blog, we'll solve the problem step by step, explain why we use a dummy node, and analyze the time and space complexity.
Problem Statement
You are given the heads of two sorted linked lists. Me
mycodingchallenge.hashnode.dev3 min read