1052. Grumpy Bookstore Owner | Sliding Window | Walmart Labs | EPAM Systems

  Рет қаралды 5,189

Aryan Mittal

Aryan Mittal

Күн бұрын

In this video, I'll talk about how to solve Leetcode 1052. Grumpy Bookstore Owner | Sliding Window | Walmart Labs | EPAM Systems
Let's Connect:
📱Discord (Join Community) : / discord
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / codewitharyanbhai
💻 Twitter - / aryan_mittal007
🤖 Github: github.com/ary...
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms

Пікірлер: 17
@mohit7717
@mohit7717 2 ай бұрын
You clear question as I take 2 I miss consecutive minutes ... thanks Aryan
@EngineeringWithBhavesh
@EngineeringWithBhavesh 2 ай бұрын
am i only the one who was not able to do it on its own?
@codebreaker6578
@codebreaker6578 2 ай бұрын
who else done it by themselves , without being grumpy 😂😂
@Sanjay-iy5zf
@Sanjay-iy5zf 2 ай бұрын
surprisingly mee
@IK-xk7ex
@IK-xk7ex 2 ай бұрын
I solved it by myself the same way, probably because there is no another way to solve it :)
@shawtylikesfood
@shawtylikesfood 2 ай бұрын
Did you buy the leetcode premium? Or are you using an extension?
@codecraftV
@codecraftV 2 ай бұрын
@Aryan Mittal Bro please answer my question can i say that this questions is similar to maximum sum sub array of length min , since we need maximum customers right? So , we have to maximize the sum , can i do it in that way
@iankitveer
@iankitveer 2 ай бұрын
What drawing tool is this ?
@prathamsharma4416
@prathamsharma4416 2 ай бұрын
thanks broo
@harshal8781
@harshal8781 2 ай бұрын
aaj company ke shirt dhone dale hai kya 🙃
@mohit7717
@mohit7717 2 ай бұрын
I try to think the same problem using vector of pair but unable to do ... ``` int maxSatisfied(vector& customers, vector& grumpy, int minutes) { vectorpr; for(int i=0;i
@ankitkumaryadav562
@ankitkumaryadav562 2 ай бұрын
customers = [10,1,7] grumpy = [0,0,0] minutes = 2 Output - 18 Some body please explain me this how the output is 18 It supposed to be "11"
@pradeepkundekar07
@pradeepkundekar07 2 ай бұрын
Answer is 18 because the store owner is not grumpy throughout the minutes as you can see it's [0,0,0] hence there no need to use the minutes variable which is 2.
@ankitkumaryadav562
@ankitkumaryadav562 2 ай бұрын
@@pradeepkundekar07 Understand, I thought 0 means grumpy
@abinash1878
@abinash1878 2 ай бұрын
Read the problem properly
@Sanjay-iy5zf
@Sanjay-iy5zf 2 ай бұрын
Take time to read the problem cleary and become friend with it
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 30 МЛН
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 212 М.
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 302 М.
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 140 М.
The LeetCode Fallacy
6:08
NeetCode
Рет қаралды 506 М.
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 650 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 590 М.
739. Daily Temperatures | Monotonic Stack | Space Optimisation O(1)
28:11
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН