Leetcode 21. Merge Two Sorted Lists (2 solutions)

preview_player
Показать описание
Hey guys, welcome back to another leetcode video.
Today, we look at the easy leetcode problem 21. Merge Two Sorted Lists

The goal is to merge two sorted linked list into a single one.
This problem can be a bit tricky, but by carefully thinking about it, we can come up with 2 solutions.
An iterative solution and a recursive solution.

I hope you will enjoy it!

Chapters:
00:00 Introduction
00:24 Solution 1 (iterative)
05:31 Solution 2 (recursive)
08:19 Comparison
08:57 Conclusion

(for the algorithm)
Every software engineer, developer, programmer, computer science student looking for a high paying job, 6 figures, millionaire, should spend time to grind leetcode to ace technical interviews. If you want to be cracked, you need to crack leetcode!

Linked list, list, abstract data type,

#javascript #leetcode #c #cprogramming
Рекомендации по теме
Комментарии
Автор

Another day, another leetcode video! Have fun

ComputerBread
Автор

Great ! You are so smart, I like your video very much, it really really helpful !

yingxie
Автор

Thank you very much for your work, you do not have the amount of help that have served on important dates. I just discovered your channel and it is helping me to understand complex concepts in such a simple way. Thanks for knowing how to deliver the content in such a great way. Excellent job in putting videos of previous recommendations to understand the more complex ones. Ctrl+F on steroids - Aho-Corasick Algorithm (pt. 1) -> THE SAVING OF MY SCHOOL CAREER.

FernandoTellez-imjt