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

  Рет қаралды 4,720

Aryan Mittal

Aryan Mittal

9 күн бұрын

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/aryan-0077
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
@EngineeringWithBhavesh
@EngineeringWithBhavesh 6 күн бұрын
am i only the one who was not able to do it on its own?
@mohit7717
@mohit7717 7 күн бұрын
You clear question as I take 2 I miss consecutive minutes ... thanks Aryan
@IK-xk7ex
@IK-xk7ex 7 күн бұрын
I solved it by myself the same way, probably because there is no another way to solve it :)
@prathamsharma4416
@prathamsharma4416 6 күн бұрын
thanks broo
@codebreaker6578
@codebreaker6578 7 күн бұрын
who else done it by themselves , without being grumpy 😂😂
@Sanjay-iy5zf
@Sanjay-iy5zf 6 күн бұрын
surprisingly mee
@shawtylikesfood
@shawtylikesfood 7 күн бұрын
Did you buy the leetcode premium? Or are you using an extension?
@viishhnurangaraju
@viishhnurangaraju 6 күн бұрын
@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
@harshal8781
@harshal8781 7 күн бұрын
aaj company ke shirt dhone dale hai kya 🙃
@iankitveer
@iankitveer 6 күн бұрын
What drawing tool is this ?
@mohit7717
@mohit7717 7 күн бұрын
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 7 күн бұрын
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"
@pradeepkundekar4376
@pradeepkundekar4376 7 күн бұрын
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 7 күн бұрын
@@pradeepkundekar4376 Understand, I thought 0 means grumpy
@abinash1878
@abinash1878 6 күн бұрын
Read the problem properly
@Sanjay-iy5zf
@Sanjay-iy5zf 6 күн бұрын
Take time to read the problem cleary and become friend with it
3 wheeler new bike fitting
00:19
Ruhul Shorts
Рет қаралды 50 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 107 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 62 МЛН
Grumpy Bookstore Owner - Leetcode 1052 - Python
7:58
NeetCodeIO
Рет қаралды 9 М.
DARKER SIDE of SOFTWARE ENGINEERING !!
12:09
Striver
Рет қаралды 97 М.
Interview with Esoteric Language 2024
8:49
Programmers are also human
Рет қаралды 83 М.
Dear Functional Bros
16:50
CodeAesthetic
Рет қаралды 469 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 287 М.