Best Time to Buy and Sell Stock | | Leetcode 121 | Love Babbar DSA Sheet | Array | Hindi
Vložit
- čas přidán 26. 07. 2024
- Time Stamps :
Problem discussion : 0:00
Approaching the problem : 02:45
Dry Run Algorithm : 03:54
Algorithm discussion : 07:10
Code explanation : 08:48
Time Complexity Discussion : 09:40
Time Complexity : O(n)
Space Complexity : O(1)
Problem Link : leetcode.com/problems/best-ti...
C++ Code Link : github.com/Ayu-99/Love-Babbar...
Python Code Link: github.com/Ayu-99/Love-Babbar...
Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :)
#DataStructuresAndAlgorithms
#LoveBabbarDSASheet
#interviewpreparation
Best Time to Buy and Sell Stock solution
Best Time to Buy and Sell Stock Leetcode
Best Time to Buy and Sell Stockn C++
Best Time to Buy and Sell Stock C++ Hindi
Best Time to Buy and Sell Stock Hindi
Checkout the series: 🔥🔥🔥
👉 Recursion : • Recursion
👉 Stack and Queue : • Stack And Queue
👉 Greedy : • Greedy
👉 Leetcode contests : • Leetcode contests
👉 Leetcode June Challenge : • Leetcode June Challenge
👉 Leetcode July Challenge : • Leetcode July Challenge
LIKE | SHARE | SUBSCRIBE 🔥🔥😊
Thanks for explaining the approach. The best thing about you is that you don't waste time by involving in deep explanations ... you're always precise ..short and accurate.
one of the best teacher on youtube who cleared the concept very well. keep going mam
Thank you so much Shally, means a lot :)
Thanks for great explanation
welcome :)
awesome explanation.thank you so much didi..
explained it really well Di
Thanks a lot 😊
Keep it up one day you will be best
You are great at explaining stuff.
Thank you 😊
Thank you
Nicely Explained !!
Welcome. I'm glad it helped :)
Thanks for explaining, Ayushi !
welcome, glad it was helpful :)
u r just awesome mam your explanation skills are just lit.......
Thank you Varun, means a lot :)
This problem look very easy when you explain thanku mam for your great effort thanku💯❤️
Thank you so much Abhishek. Means a lot😊
Your explanation is best 😊
Thank you Mutasim :)
Thankss....
welcome :)
Excellent explanation ma'am.
Thanks a lot🤗🤗
Great explain
Thank you :)
Thanks a lot 👍👍👍👍
Welcome. :)
Di bhut easy way m samjha diya aapne
Good😊😊
Thank you :)
@@AyushiSharmaDSA
Di can you share yr insta id plzz?
nice explanation : )
Thanks, glad it was helpful :)
You are explaining very well pls can you do it in python also
good explanation
Thank you :) glad it was helpful
Line 7
i>=0
Why??
Max -min se bhi to yahi aaiya
pretty good .
Thank you :)