Рет қаралды 3,552
Channel Discord Community: / discord
Problem Link: leetcode.com/problems/sliding...
Today we are solving a very tricky problem that involves finding the median of a sliding window. We'll need to use two heaps in order to keep everything in check but it definitely isn't trivial how we want to do this. We'll need to use our brains here to come up with a solution and hence the 30 minute long video.
TIMESTAMPS
00:00 Intro
00:07 Question Prompt
00:50 Basic Example
02:49 Solution Intuition
08:00 Coding
27:28Time/Space Complexity
29:15 Outro