MERGE K SORTED LISTS | LEETCODE 23 | PYTHON OPTIMAL SOLUTIO

Cracking FAANG November 17, 2022
Video Thumbnail
Cracking FAANG Logo

Cracking FAANG

View Channel

About

No channel description available.

Video Description

Problem Link: https://leetcode.com/problems/merge-k-sorted-lists Discord Link: https://discord.com/invite/s8JX2ARnSg In this video we are solving a popular Amazon and Facebook interview question dealing with linked lists: Merge K Sorted Lists (Leetcode # 23). This question is pretty easy to solve on its own but there are optimizations that the interviewer will be looking for that make things a little bit trickier. Luckily it's not that complicated and we can easily solve it! TIMESTAMPS: 00:00 Intro 00:16 Question Prompt 00:38 Basic Example 01:45 Naive Solution 03:00 Optimal Solution 06:36 Solution Diagram & Intuition 10:35 Coding 18:12 Time/Space Complexity 19:00 Outro

You May Also Like