[Java] Deque | Solve Leetcode - Sliding Window Maximum

  Рет қаралды 1,543

Eric Programming

Eric Programming

Күн бұрын

Пікірлер: 8
@TheProximator
@TheProximator 3 жыл бұрын
Excellent : ) Thank you very much
@EricProgramming
@EricProgramming 3 жыл бұрын
TheProximator, Thank you very much for your support!
@ganesh2075
@ganesh2075 3 жыл бұрын
Sir when will be next video in datastructure series?
@EricProgramming
@EricProgramming 3 жыл бұрын
Which data structure would you like me to do next?
@amol_
@amol_ 4 ай бұрын
I this code will not work, incase of duplicate as during shrink operation you will never know the element which we are removing is it same max or we have duplicate also in windw. storing index is make sense
@SamarAshrafii
@SamarAshrafii 2 ай бұрын
No, it is working. I check it and it is actually easier than to keep indexes. Thanks for this video. You explained very well.
@alexandersmirnov4274
@alexandersmirnov4274 11 ай бұрын
you should store into dequeue indices of elements rather than elements itself
@SamarAshrafii
@SamarAshrafii 2 ай бұрын
Not necessarily.This code works well.
5 Steps to Problem Solve Coding Interview Questions
14:10
Eric Programming
Рет қаралды 3,7 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 68 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 84 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
[Java] Leetcode 1041. Robot Bounded In Circle [Array #10]
12:05
Eric Programming
Рет қаралды 3,3 М.
[Java] Leetcode 343. Integer Break [DP Integer Partition #1]
13:58
Eric Programming
Рет қаралды 3,9 М.
[Java] Leetcode 279. Perfect Squares [DP Integer Partition #2]
11:08
Eric Programming
Рет қаралды 2,3 М.
[Java] Leetcode 489. Robot Room Cleaner [Backtracking #14]
14:10
Eric Programming
Рет қаралды 6 М.
Day in the life of a Microsoft Software Engineer in Vancouver Canada
5:14
Valid Sudoku - Leetcode 36 (Python)
13:59
ThinkOutsideTheBox
Рет қаралды 121
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 68 МЛН