Daily Temperatures - Leetcode 739 - Stacks (Python)

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

Greg Hogg

Greg Hogg

Күн бұрын

The Python code for this problem can be found at my GitHub repo here: github.com/gahogg/Leetcode-So...
Please check my playlists for free DSA problem solutions:
• Array & String Questions
• 2 Pointers Questions
• Sliding Window Questions
• Binary Search Questions
• Stack Questions
• Linked List Questions
• Tree Questions
• Heap Questions
• Recursive Backtracking...
• Graph Questions
• Dynamic Programming (D...
Learn Python and Data Science at mlnow.ai :)
Best Courses for Analytics:
---------------------------------------------------------------------------------------------------------
+ IBM Data Science (Python): bit.ly/3Rn00ZA
+ Google Analytics (R): bit.ly/3cPikLQ
+ SQL Basics: bit.ly/3Bd9nFu
Best Courses for Programming:
---------------------------------------------------------------------------------------------------------
+ Data Science in R: bit.ly/3RhvfFp
+ Python for Everybody: bit.ly/3ARQ1Ei
+ Data Structures & Algorithms: bit.ly/3CYR6wR
Best Courses for Machine Learning:
---------------------------------------------------------------------------------------------------------
+ Math Prerequisites: bit.ly/3ASUtTi
+ Machine Learning: bit.ly/3d1QATT
+ Deep Learning: bit.ly/3KPfint
+ ML Ops: bit.ly/3AWRrxE
Best Courses for Statistics:
---------------------------------------------------------------------------------------------------------
+ Introduction to Statistics: bit.ly/3QkEgvM
+ Statistics with Python: bit.ly/3BfwejF
+ Statistics with R: bit.ly/3QkicBJ
Best Courses for Big Data:
---------------------------------------------------------------------------------------------------------
+ Google Cloud Data Engineering: bit.ly/3RjHJw6
+ AWS Data Science: bit.ly/3TKnoBS
+ Big Data Specialization: bit.ly/3ANqSut
More Courses:
---------------------------------------------------------------------------------------------------------
+ Tableau: bit.ly/3q966AN
+ Excel: bit.ly/3RBxind
+ Computer Vision: bit.ly/3esxVS5
+ Natural Language Processing: bit.ly/3edXAgW
+ IBM Dev Ops: bit.ly/3RlVKt2
+ IBM Full Stack Cloud: bit.ly/3x0pOm6
+ Object Oriented Programming (Java): bit.ly/3Bfjn0K
+ TensorFlow Advanced Techniques: bit.ly/3BePQV2
+ TensorFlow Data and Deployment: bit.ly/3BbC5Xb
+ Generative Adversarial Networks / GANs (PyTorch): bit.ly/3RHQiRj
Become a Member of the Channel! bit.ly/3oOMrVH
Follow me on LinkedIn! / greghogg
Full Disclosure:
Please note that I may earn a commission for purchases made at the above sites! I strongly believe in the material provided; I only recommend what I truly think is great. If you do choose to make purchases through these links; thank you for supporting the channel, it helps me make more free content like this!

Пікірлер: 11
@nithin2782
@nithin2782 27 күн бұрын
Excellent explanation. Thanks!! Very helpful
@alexandermillar3763
@alexandermillar3763 4 ай бұрын
Clear and easily followed visual explination. Thank you!
@GregHogg
@GregHogg 4 ай бұрын
Thank you and you're very welcome!
@user-us7rg4cd6p
@user-us7rg4cd6p 2 ай бұрын
Phenomenal! Thanks
@GregHogg
@GregHogg 2 ай бұрын
Glad you found it helpful, thanks so much!
@pradeepbhat1363
@pradeepbhat1363 4 ай бұрын
Is there any way to identify it as a stack pattern ?
@GregHogg
@GregHogg 3 ай бұрын
This one is monotonic stack where increasing elements kinda start to line up, you might get used to that pattern
@chambora1312
@chambora1312 2 ай бұрын
Did I hear a "duck and the lemonade stand" reference at 1:03 😂
@GregHogg
@GregHogg 2 ай бұрын
You most definitely did haha
@mattphillips6623
@mattphillips6623 4 ай бұрын
I tried to solve this before watching the video and am as embarassed as i am impressed with myself haha. I did end up with a solution for all cases but do i ever have a lot to learn. Great content!
@GregHogg
@GregHogg 4 ай бұрын
Haha you're doing great! Thanks so much :)
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 105 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 79 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Stanford's FREE data science book and course are the best yet
4:52
Python Programmer
Рет қаралды 679 М.
80 Year Olds Share Advice for Younger Self
12:22
Sprouht
Рет қаралды 1,3 МЛН
Why do databases store data in B+ trees?
29:43
Arpit Bhayani
Рет қаралды 32 М.
Valid Sudoku - Leetcode 36 - Hashmaps & Sets (Python)
5:10
Greg Hogg
Рет қаралды 3,5 М.
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 606 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 792 М.
Most Common Concepts for Coding Interviews
6:08
NeetCode
Рет қаралды 289 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 105 МЛН