What is going on everybody? Hope everyone is doing well! Today we are tackling Leetcode 121: Best Time To Buy and Sell Stock. Enjoy this In-Depth Solution and Explanation :)
Timestamps:
0:00 - 1:19 - Intro/Problem Overview
1:20 - 3:21 - Initial Thoughts and Strategies
3:22 - 4:51 - Correct Strategy
4:52 - 7:53 - Using Strategy on Example
7:54 - 11:25 - Code
11:26 - 11:48 - Time/Space Complexities
11:49 - 12:27 - Conclusion
__________________________________________________________________________
Intro/Ending Music by the best DJ - / djganu
__________________________________________________________________________
My prep tools to ace my interviews:
MIT 6.006: • MIT 6.006 Introduction to Algorithms, Fall...
Free Code Camps Data Structures Easy to Advanced Course: • Data Structures Easy to Advanced Course - ...
The book that I used to ace my interviews - Cracking the Coding Interview: https://amzn.to/38V7aPB
The sites I used to practice interview problems:
Leetcode: https://leetcode.com/
Hackerrank: https://www.hackerrank.com/
CodeSignal: https://codesignal.com/ ________________________________________________________________________
My gear:
My laptop: https://amzn.to/386odPl
My mouse:https://amzn.to/3rYkhZ8
My keyboard: https://amzn.to/3oeagEM __________________________________________________________________________
Disclosure: This videos is not sponsored! All points shared are my own opinions :). Some of the links above are affiliate links.