LeetCode 21 - Merge Two Sorted Linked Lists in Python
Suboptimal Engineer
📖Description Hello everyone! "LeetCode in Python" is a series where I explain all solutions to popular LeetCode problems. Each video contains a theoretical section (where I explain the reasoning behind the most optimal solution) and a practical section (where I go over the Python solution). Solving these LeetCode problems has helped me land interviews and job offers from numerous companies like Amazon (SWE offer), Goldman Sachs (SWE offer), and Google (onsite). Stay tuned to learn how to crack (nearly) any coding interview.
In today's "LeetCode in Python" episode, I will be going over the 21st LeetCode problem: merge two sorted linked lists. Please leave a like if you enjoyed the content, and subscribe if you would like to learn more about popular LeetCode problems asked during coding interviews. Thanks, and have a good one!
📝Note Feel free to watch this video at 1.25 - 1.5 speed as I go through the solution pretty slowly.
⏳Timestamps 00:19 Understanding the Problem 00:58 Algorithm 05:52 Time/Space Complexity 07:01 Code
💻Resources Code: https://github.com/SuboptimalEng/ LeetCode: https://leetcode.com/problems/merge-two-sorted-lists/
#leetcode #python #suboptimaleng ... https://www.youtube.com/watch?v=r3MAkVZkD0s
22759351 Bytes