Insertion Sort List | Leet code 147 | Theory explained + Python code

preview_player
Показать описание
This video is a solution to Leet code 147, Insertion Sort List. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python code.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

Code:

Time stamps:
0:00 Question
0:33 Solution Explained
5:33 Python Code

More leetcode questions solved:

Gear used:
Рекомендации по теме
Комментарии
Автор

Great accent and Excellent explanation!

satyasantosh
Автор

Thanks Anish! I have a quick question. How do you let dummy_head point to the next pointer? I thought you just initialize it in dummy_head = ListNode() and it doesn't point to anything.

andrewwang
welcome to shbcf.ru