Buy and Sell Stock Problem and Pow(X,N) Power exponential Problem - Leetcode | DSA Series

preview_player
Показать описание
Lecture 13 of DSA Series - Buy and Sell Stock Problem & X raised to the Power N Problem
Problem : Leetcode 121, Leetcode 50
DSA Series Playlist :

Time Stamps :
00:00 Intro
00:21 Logic : Compute (x^n)
08:58 Code : Compute (x^n)
10:11 For negative value of n
13:55 Stock Buy & Sell Problem
26:35 Code : Stock Buy & Sell Problem
28:32 Advanced versions of Stock Buy & Sell will be taught in DP

Want to study for Tech Placements/Internships from us :

Shradha Ma'am community
Рекомендации по теме
Комментарии
Автор

Remember, if we don't sacrifice for what we want, what we want becomes the sacrifice.
Narrow your focus to just your CAREER GOAL.

ApnaCollegeOfficial
Автор

A true mentor and helper for us in the programming era❤❤

CodingWithMoeen-
Автор

me always aapke lecture ke upload hone ka wait krta hu .

Thank you Didi, hume itna acha content provide krane ke liye

sandeepmehta-el
Автор

My morning starts with your daily lectures

PriyanshuVerma-hhbq
Автор

i am waiting every day for your lecture ma'am so much important every lecture

mazedul
Автор

Thanks shradha Mam ❤❤ you are best teacher

Ak_YouTube_creater
Автор

DSA series Day-13 completed I hope I will maintain this consistency with shraddha maam .Thankyou so much mam for this series and also thanks to Aman sir who behinde all of that❤🎉

StudywithmeAkku
Автор

at 23:43 mistake maam :- price[i] or selling price <=best buy then no need to change maxprofit else max profit will be changed, if i am wrong pls correct me

PrinceDwivedi-td
Автор

You people have redefined and transformed education in real sense 👏👏👏👍 To understand this concept one would have to give more time and energy but here you explained it within 30 min 😇 Great 👍

anilnarayanprakash
Автор

Day - 13 Completed of DSA learning Journey ✌️

ghostninja
Автор

Shardha Mam is best teacher
I am watching her course from Pakistan

SamiullahAbid-ck
Автор

Wow this is soo good video ! Soo much to learn and soo much to explore ! Really Ma'am you are a gem and this playlist is a treasure !😊😇

ashishtiwari
Автор

at 8:41 BF/=2 is equivalent to BF >>= 1 , bitwise right shift
at 12:01 0^n = 0 except for n=0, from calculus we know that 0^0=1 using limit

banibratamanna
Автор

What a lecture ma'am.I really loved your lecture, ma'am

kanokfaisalhaque
Автор

Thank you mam for this lectures because my semester exam is next month 😊

sakshiighewad
Автор

Completed September 20, 2024, 11:20pm. Thanks you for this amazing class. 🥰😍🥰

nabin-xf
Автор

because of you dii i could leave my fear about leetcode questions😃

janhaviitankar
Автор

In POW(X, N) question, the reason to convert "n" into Long is in given scenario "n" is int so if we directly multiply it with -ve so its positive value exceeds the boundary of positive integer data type. So to increase the boundary we convert the data into higher limit data type.

bablurani
Автор

Awesome thought. Together, our knowledge can help so many students.

SurgeAheadacademy
Автор

"Thank you, sister, for making coding approachable! You're such a role model! 👑💻"

LuckyKashyap-pz