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

  Рет қаралды 80,677

Apna College

Apna College

Күн бұрын

Пікірлер: 278
@ApnaCollegeOfficial
@ApnaCollegeOfficial 2 ай бұрын
Remember, if we don't sacrifice for what we want, what we want becomes the sacrifice. Narrow your focus to just your CAREER GOAL.
@munipalchauhan-cg7vz
@munipalchauhan-cg7vz 2 ай бұрын
Machine learning ka lecture bhi bnao
@GopalKumar-xu3iw
@GopalKumar-xu3iw 2 ай бұрын
true lines 😍😍😍😍
@varunchoudhary8797
@varunchoudhary8797 2 ай бұрын
Thank you 🙏 ma’am aapke karn bhut students ki help ho rhi h Aap bhut acha smjhate hn Mere bhai ki job b aapse pdai karke hi lagi h .thank you
@Ravi-vr3xc
@Ravi-vr3xc 2 ай бұрын
🙏🙏🙏🙏🙏Thank you Hme etana acha pdane k liy
@anurag_gupta21
@anurag_gupta21 2 ай бұрын
This Series Is Helping Alot in Learning DSA & Prepare for The Placement. Thank You So Much Ma'am 😊
@CodingWithMoeen-999
@CodingWithMoeen-999 2 ай бұрын
A true mentor and helper for us in the programming era❤❤
@sandeepmehta-e9l
@sandeepmehta-e9l 2 ай бұрын
me always aapke lecture ke upload hone ka wait krta hu . Thank you Didi , hume itna acha content provide krane ke liye
@gujaratlearning
@gujaratlearning 2 ай бұрын
Hello muze aapki help ki jarurat hai muze bhi es fild me Anna hai
@PriyanshuVerma-hh9bq
@PriyanshuVerma-hh9bq 2 ай бұрын
My morning starts with your daily lectures
@shubhamjha-z1o
@shubhamjha-z1o Ай бұрын
verma ji kay subha subha padhai karte ho
@mazedul1448
@mazedul1448 2 ай бұрын
i am waiting every day for your lecture ma'am so much important every lecture
@anilnarayanprakash9829
@anilnarayanprakash9829 2 ай бұрын
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 👍
@Ak_YouTube_creater
@Ak_YouTube_creater 2 ай бұрын
Thanks shradha Mam ❤❤ you are best teacher
@nabin-x4f
@nabin-x4f 2 ай бұрын
Completed September 20, 2024,11:20pm. Thanks you for this amazing class. 🥰😍🥰
@StudywithmeAkku
@StudywithmeAkku 2 ай бұрын
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❤🎉
@stark6314
@stark6314 10 сағат бұрын
Lecture 13 Buy and selll Completed on 24-11-24 Homework Code - Done Got to know about the binary exponention and about the buy and sell problem!
@SamiullahAbid-c7k
@SamiullahAbid-c7k 2 ай бұрын
Shardha Mam is best teacher I am watching her course from Pakistan
@shubhamdevpandey5917
@shubhamdevpandey5917 2 ай бұрын
Thankyou shraddha didu
@azharalibhutto1209
@azharalibhutto1209 2 ай бұрын
❤❤❤❤❤❤❤ thank you for teaching DSA
@MYCodingConcept
@MYCodingConcept 2 ай бұрын
thanks mam for golden lecture
@pushprajgupta1604
@pushprajgupta1604 2 ай бұрын
Thank you so much Ma'am, very much helpful every video of DSA series.
@shubhampandey1754
@shubhampandey1754 2 ай бұрын
Lecture 13 completed in 1.5 hrs because of that x^n question it is little bit hard for me to understand but i understand it by dry it it again and again ❤
@sakshiighewad24
@sakshiighewad24 2 ай бұрын
Thank you mam for this lectures because my semester exam is next month 😊
@SurgeAheadacademy
@SurgeAheadacademy 2 ай бұрын
Awesome thought. Together, our knowledge can help so many students.
@SUJAL-0001
@SUJAL-0001 Ай бұрын
correction at 8.27 "BF % 10 == 1" as we want last value of the binary form and also at last "BF /= 10" as we have to remove last digit from binary form anyway these are the basics which are taught in previous lectures also thankyou didi for amazing lectures❤
@shinchangaming1972
@shinchangaming1972 Ай бұрын
is that correct coz i am also having the same doubt but not confident as may be sharddha didi is right can you please confirm it and help me
@indrocky6530
@indrocky6530 Ай бұрын
No bro observe it deeply the decimal form will be given of the power not the binary form.
@shinchangaming1972
@shinchangaming1972 Ай бұрын
@@indrocky6530 yes yes i got it thanks
@adityasingh3365
@adityasingh3365 2 ай бұрын
Lecture 13 completed; Thankyou Mam;
@Abhi_Singh-_-4
@Abhi_Singh-_-4 2 ай бұрын
Lecture 13 completed day 25-09-24 .. 1am. Thank you maam
@UnfilteredTruthByMe
@UnfilteredTruthByMe 2 ай бұрын
Helloo didi todays lecture complete on 21 sep 2024 bhot acha topic lga muje stock buy and sell wala maza aayaga thank you didi ap muje bhot aache lagti ho bhot pyari bhi ho
@ankitpandit1715
@ankitpandit1715 2 ай бұрын
Great, to see you back 😊
@Bittu-z1y
@Bittu-z1y 2 ай бұрын
Shraddha didi please send the notes of each class because we have less time to make notes due to college pressure. Please, please, please....
@alwaysanujsharma
@alwaysanujsharma 2 ай бұрын
28:49 Day 13 completed👌💯
@ayushjha1595
@ayushjha1595 2 ай бұрын
Lec 13 completed
@LuckyKashyap-p4z
@LuckyKashyap-p4z 2 ай бұрын
"Thank you, sister, for making coding approachable! You're such a role model! 👑💻"
@aniketdwivedi474
@aniketdwivedi474 Ай бұрын
Completed october 2 , 2024, sell and buy stock problem thank u so much mam 😊
@mdsohanurrahmanhridoy1343
@mdsohanurrahmanhridoy1343 2 ай бұрын
Completed Day 12❤
@deepchakraborty3638
@deepchakraborty3638 2 ай бұрын
All up to date and practiced
@nikitasharma7209
@nikitasharma7209 Ай бұрын
Also in stock buy and set 1st if we find minimum value of prize array and it's index let's say L then we will indicate this is Best Buy and the max of from L to N-1 index. Will be sell , O(n+n)=O(2n)=O(n)
@vishnuvardhan2687
@vishnuvardhan2687 2 ай бұрын
Successfully completed ✅ Day 13 lecture thank you shradha maam for your valuable lectures to us 😊😊😊 21/09/2024
@RajendraChoudhary-b5n
@RajendraChoudhary-b5n 2 ай бұрын
I really love this lecture ❤
@DeepakSoni-wx6vo
@DeepakSoni-wx6vo 2 ай бұрын
Best teacher ❤❤
@SagarMaheshwariS
@SagarMaheshwariS 2 ай бұрын
Day 13 completed ✅
@Shaswat_Shrivas
@Shaswat_Shrivas 2 ай бұрын
Day 13 Completed!
@ShivamJain001
@ShivamJain001 2 ай бұрын
Lecture 13 completed successfully on 24/09/24😊
@Bhanu-g8y
@Bhanu-g8y Ай бұрын
if you are unable to understand binary conversion try understanding this code used recursion and with same log n time complexity note : code is written in java //code with log(n) time complexity class Solution { public double myPow(double x, int n) { return calc(x,n); } public double calc(double x,long n) { if(n
@allinone17876
@allinone17876 2 ай бұрын
The way she is consistent we should be the same..
@mjtgaming095
@mjtgaming095 Ай бұрын
thanks dii launch this course
@poulomibhattacharya6268
@poulomibhattacharya6268 2 ай бұрын
Mam kindly upload the notes for these lectures ..it's going to be really helpful for us
@sheikhfurqan3543
@sheikhfurqan3543 2 ай бұрын
We need Lectures on Daily Basis, Please Try to upload Lecture on Daily Basis. Vote for Daily Lectures
@patilrajesh2500
@patilrajesh2500 Ай бұрын
Lecture successfully completed on 3/10/2024
@Yash_Patil.31
@Yash_Patil.31 Ай бұрын
Done with today's topic 👍
@rajdeepraj624
@rajdeepraj624 2 ай бұрын
Completed 1♥️
@MohdZiyan379
@MohdZiyan379 Ай бұрын
Amazing 😍 lecture
@banibratamanna5446
@banibratamanna5446 2 ай бұрын
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
@iifamohdshoaibblacksmith5196
@iifamohdshoaibblacksmith5196 Ай бұрын
mam i can't make a logic to solve the question and feel low confidence to learn dsa but i can try
@Rajakumar29sep
@Rajakumar29sep 2 ай бұрын
Thankyou✨Done✨Completed✨
@likitha2005
@likitha2005 Ай бұрын
Day-13 Done ✅
@DevChaudhary-rg6qd
@DevChaudhary-rg6qd 2 ай бұрын
di how's the number is converted to the binary number in this code. there is int ' n ' but how this is converted the binary number
@Earth.nature922
@Earth.nature922 Ай бұрын
no their is no need of to conver power in binary .you can take it as it is
@ayanmondal4078
@ayanmondal4078 Ай бұрын
If you keep on dividing the number by 2 and combine the remainders you get the binary form .. that's the logic she wrote inside if
@udaykiran9727
@udaykiran9727 Ай бұрын
Buy and Sell Stock Problem and Pow(X,N) Power exponential Problem is done maam - 27-09-2024
@CineCrave_Sriese-t6e
@CineCrave_Sriese-t6e 2 ай бұрын
lecture complete👍👍
@prabhubhi
@prabhubhi 22 күн бұрын
just searched that question on leetcode without seeing the solution and used Pow(X,N) function and submitted it and it was accepted😂😂
@Ayush-rx9pk
@Ayush-rx9pk Ай бұрын
3 semester watched this session on 12 october finished thirteenth lecture
@PrinceDwivedi-t1d
@PrinceDwivedi-t1d Ай бұрын
at 23:43 mistake maam :- price[i] or selling price
@radhekrishnadg952
@radhekrishnadg952 2 ай бұрын
day 13:completed thanku so much❤
@marco_robert
@marco_robert 21 күн бұрын
11:40 Not sure why this is important. See, if the value of n is 1 or 0 or xx is 1 or 0, the loop we created will take care of these cases as well no? And it will take 1 step too in the loop. What good will this do to us?
@MoNiL_DeVLuK1111
@MoNiL_DeVLuK1111 2 ай бұрын
L-13 DONE 🚀
@avibega
@avibega 2 ай бұрын
Lecture Done❤
@ajitkumarbehera-314
@ajitkumarbehera-314 2 ай бұрын
Ma'am I am your fan❤
@itz_akash_Gupta
@itz_akash_Gupta 2 ай бұрын
Day - 13 Complete ✅✅
@DIBYENDU_MALLICK
@DIBYENDU_MALLICK Ай бұрын
Complete ✔️
@earthlinkdesignersedtech3531
@earthlinkdesignersedtech3531 Ай бұрын
day-13 completed 😎💪🚀
@abdullahmunir9557
@abdullahmunir9557 2 ай бұрын
I have no words for this favour.😢
@storysmile-ku3yv
@storysmile-ku3yv Ай бұрын
Lecture 13 Successfully Completed 14/10/24
@ShreyaPriyadarshini
@ShreyaPriyadarshini 26 күн бұрын
I took a break because i have to travel to my hometown and various other things happened due to which my consistency broke. Anyways starting of from where I left, Day 10 of dsa journey completed this lecture at 11:34 am on 29/10/2024
@anushrisamrut-6263
@anushrisamrut-6263 Ай бұрын
Chapter 12 complete ✅
@saranshgupta08
@saranshgupta08 2 ай бұрын
Lecture 13 ✅
@moinansari3729
@moinansari3729 2 ай бұрын
Sep 19, 2024, Lec 13 Completed
@Coding_blog
@Coding_blog 2 ай бұрын
Hello ma'am good evening
@mrmeena8949
@mrmeena8949 2 ай бұрын
Day 13 complete ✍️
@niteshnayak9370
@niteshnayak9370 2 ай бұрын
Thank you Mam
@kajaly-kx5bc
@kajaly-kx5bc 2 ай бұрын
Completed 😇
@Shortedit-o5f
@Shortedit-o5f 2 ай бұрын
Lecture completed
@NamanSachdeva-s8x
@NamanSachdeva-s8x 21 күн бұрын
Lecture 13 completed
@Mycode-com
@Mycode-com 2 ай бұрын
Present didi 😊
@txusiff
@txusiff 15 күн бұрын
Completed on 8th November, 2024
@Soumyadeep_Chakraborty1
@Soumyadeep_Chakraborty1 Ай бұрын
12:02 0^0≠0 , it's undefined
@piyush_aditya
@piyush_aditya 2 ай бұрын
Done Lecture 13 ;
@NikhilYadav-q3h
@NikhilYadav-q3h 2 ай бұрын
done ma'am !
@prajwalsk385
@prajwalsk385 Ай бұрын
Completed lecture 13 OCT 4
@AkankshaPawar-p7g
@AkankshaPawar-p7g Ай бұрын
Completed on 29 - 09 - 24 👍
@vedictechyog
@vedictechyog 2 ай бұрын
Very Nice
@abhinavagnihotri1918
@abhinavagnihotri1918 Ай бұрын
Ma'am please provide pdf notes of every video....🙏🙏
@SachinYadav-fz8ng
@SachinYadav-fz8ng 2 ай бұрын
thank yuo mam
@gautamksharma
@gautamksharma 2 ай бұрын
Day 13 complete
@anantsingh2098
@anantsingh2098 2 ай бұрын
Hello didi thoda slow pdhao pls if possible kyuki abhi initial stage pe Logic samajne me time lag rah hai 🙏
@-BCA--RodgriuesXavierRodgriues
@-BCA--RodgriuesXavierRodgriues 2 ай бұрын
but we can also solve this problem directly using return x**n
@Devil-j2f4f
@Devil-j2f4f 2 ай бұрын
Thanks mam
@krishnakumar-iz4xh
@krishnakumar-iz4xh 21 күн бұрын
day 13 lecture 13 complete
@nizakhan126
@nizakhan126 2 ай бұрын
Sis plse polytechnic CS ke liye video bna dijiye details please 🥺 didi.
@prabhj0tsingh
@prabhj0tsingh Ай бұрын
Completed
@MANISHSINGH-qj5iu
@MANISHSINGH-qj5iu Ай бұрын
LECTURE COMPLETED
@zeeshanperwez4424
@zeeshanperwez4424 2 ай бұрын
Mam please make playlist of data science with python...
@promagic9658
@promagic9658 2 ай бұрын
Please make video for iisc banglore vs iiser❤🎉
@ayushburde1
@ayushburde1 4 күн бұрын
done with this
@QuantumRobot-ik4it
@QuantumRobot-ik4it 2 ай бұрын
Singly linked list and arrays and trees please complete my sem exams will start from late November
@gurdasgujjar80
@gurdasgujjar80 2 ай бұрын
Dear madam please make a video for Certificate generator in Flutter
@prathmeshkhandare6113
@prathmeshkhandare6113 Ай бұрын
Why we not using x**n Or pow function ?
Time & Space Complexity - DSA Series by Shradha Ma'am
1:25:41
Apna College
Рет қаралды 144 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
Каха и лужа  #непосредственнокаха
00:15
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
Web Development Complete RoadMap for 2025 | from Basics to Advanced
22:00
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 736 М.
50+ LPA Roadmap | ezSnippet | Neeraj Walia
17:02
Neeraj Walia
Рет қаралды 1,3 МЛН
Pointers in C++ | In Detail | DSA Series by Shradha Ma'am
46:08
Apna College
Рет қаралды 79 М.
DP 35. Best Time to Buy and Sell Stock | DP on Stocks 🔥
9:11
take U forward
Рет қаралды 410 М.
Players push long pins through a cardboard box attempting to pop the balloon!
00:31