Minimum Stack - 2 | Solution

preview_player
Показать описание


#pepcoding #programming #coding

Рекомендации по теме
Комментарии
Автор

Har topic ko apne bahut achche se explain kiya. Now you are my favourite teacher.

arshadahmad
Автор

Sumeet sir is a gem! Waiting to see amazing Pepcoding team hitting 50k subscribers in 24-48 hrs!!

AyushKumar-fklm
Автор

Aap jaisa sir ho toh koi bhi subject samjh aayega hi aayega
Love you sir ♥️

travelnlearn
Автор

Thanks for all your effort. Your teaching style in really amazing. I am learning a lot. Cannot thank you enough. I have watched the same approach in a different video, but it didn’t stick. Watching you solve this 5 times made me understand the concept very well.

not
Автор

The What, How and Why is Gold. I'm going to apply this to other aspects of my life as well :)

bloody
Автор

I understood the concept what you explained sir but I didn't understood the reason for Implication why we are doing v+v-m when v<m.

kandurimanohar
Автор

sumit sir is king sir itna deep koi nhi smjta sir . esa lagta hai jese aap k samne baith k class le rhe hai thank u sir hum bacho ko itna acha content dene k liye

AmanTheMystery
Автор

amazing question to solve.. thank you sir for your explanation..

dheerajkhushalani
Автор

This is some amazing teaching. God gifted.

GyaanGrave
Автор

woahh out of the box explanation sir, thanks for such great content

mohitahlawat
Автор

Sir mst explain kiya sir ds algo ka bahut use hota hoga industry me time space ke term me ye code chela do to shi hi hai na sir time bachega hi

SCRIPTSAG
Автор

Awesome sir. From TOday i am your big fan

mrityunjayjaiswal
Автор

sir iss question ko to sidha bhi kar sakte the, min variable banate and stack

1)pahale dono mei data push karte.
2) jab next bar data push karte to min se compare kar lete
3)agar min se chota aat to min to update kar lete.

fir shyad v+(v-min) karne ki jarurat nhi pdhti?

sarthaktripathi
Автор

Sir, very nice logic, will keep a note of this method. Thnx

ParasVashishth_RV
Автор

Sir isme aapne val+val - min kra agar sirf val - min kre to bhi code chal rha hain correct ans aa rha hain ... to kya val - min bhi sahin hain ??

prateekbansal
Автор

but sir, this solution might give integer error, in case the number in int_min how to solve that issue

AKASHKUMAR-lili
Автор

thank you so much sir for this amazing explanation .

swatidubey
Автор

Will definitely grab a pbc and come and talk to you sir

travelnlearn
Автор

sir, but can we put display function in min stack class and what logic we be applied in that

akashkumar-kzch
Автор

SIR yeh sb humne bs O(1) LAANE k liye kia h n?

lakshayrastogi