[Java] Leetcode 295. Find Median from Data Stream [Two Heaps #1]

  Рет қаралды 3,287

Eric Programming

Eric Programming

Күн бұрын

Пікірлер: 10
@csquaredgaming
@csquaredgaming Жыл бұрын
I enjoyed this. My only comment would be I had to slow video down to 0.75x so my brain could process what you were saying properly. Possible suggestion would be to speak slightly slower and maybe I can catch what you are saying the first time around, instead of me having to play the parts I missed back several times. Still really good explanations though, I understand this concept now, ty.
@robertbaindourov134
@robertbaindourov134 24 күн бұрын
great job Eric!
@sunisshining1
@sunisshining1 4 ай бұрын
public double findMedian() { if(size%2!=0) return maxheap.size() > minheap.size() ? (double) maxheap.peek() : (double) minheap.peek(); return (maxheap.peek()+ minheap.peek()) / 2.0; }
@nuha0232
@nuha0232 Ай бұрын
you are the best
@raj_kundalia
@raj_kundalia Жыл бұрын
thank you!
@SHSelect
@SHSelect 2 жыл бұрын
looks promising, well explained, thanks Eric
@jerrywong5140
@jerrywong5140 2 жыл бұрын
Short and concise, love it!
@ainazikmomunalieva3732
@ainazikmomunalieva3732 2 жыл бұрын
Super explanation!
@EricProgramming
@EricProgramming 2 жыл бұрын
Glad it was helpful!
@SandeepKumar-du3tg
@SandeepKumar-du3tg 2 жыл бұрын
Amazing explaination!!
[Java] Leetcode 480. Sliding Window Median [Two Heaps #2]
15:43
Eric Programming
Рет қаралды 9 М.
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,9 МЛН
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 2,1 МЛН
[Java] Deque | Solve Leetcode -  Sliding Window Maximum
14:42
Eric Programming
Рет қаралды 1,4 М.
Data Structures: Solve 'Find the Running Median' Using Heaps
9:53
Find Median from Data Stream
29:28
Techdose
Рет қаралды 55 М.
Making an Algorithm Faster
30:08
NeetCodeIO
Рет қаралды 95 М.
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 238 М.
5 Steps to Problem Solve Coding Interview Questions
14:10
Eric Programming
Рет қаралды 3,7 М.
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН