2.2 Masters Theorem Decreasing Function

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 281

  • @syedjawahar8542
    @syedjawahar8542 3 года назад +114

    When u said “this is masters theorem” after writing few conditions.....even master theorem itself in shock, I made this look so complex to even university professors and this guy is making fuN of me.....lol. GOD BLESS U....

  • @t.hartley1730
    @t.hartley1730 6 лет назад +272

    I can't explain to you how helpful these videos are to me. Thank you.

    • @akkkuuuu
      @akkkuuuu 3 года назад +1

      Me to

    • @akkkuuuu
      @akkkuuuu 3 года назад +1

      Tommorrow is my sem xam. And these are really helpful for me as compared to other youtube channels

    • @anmol9886
      @anmol9886 Год назад +1

      dont explain

  • @jojappakoyyuru8301
    @jojappakoyyuru8301 4 года назад +289

    Angel has come down and explains the impossible things.....

  • @alldyallnite
    @alldyallnite 3 года назад +6

    I have never seen anyone dedicating 30 odd videos for explaining the complexity of the algorithms. Thanks to you sir, this is the best use of youtube I have ever done till date.

  • @arkadiptadas4148
    @arkadiptadas4148 6 лет назад +138

    Wow!.. Never seen someone explain master's theorem so beautifully and passionately

    • @siz1858
      @siz1858 Год назад +1

      Bro do you a crush on him? That’s not how you compliment a person's explanation

    • @jayvaibhawverma
      @jayvaibhawverma 10 месяцев назад

      @@siz1858You can compliment someone's work like this, if it's been done by the person passionately and beautifully. Take the metaphorical meaning; not everything needs to be taken literally.

  • @anonymousa6070
    @anonymousa6070 6 лет назад +20

    Our teacher took 3 hours to teach these topics, but also after that no one was able to understand these clearly. But here you made it clear within a 8 minutes of lecture. I can't thank you enough.

    • @chris_ekwe
      @chris_ekwe Год назад +1

      Mine used 2 mins, na ogun go kill en papa

  • @yoshifan102
    @yoshifan102 3 года назад +10

    I was almost crying from how much work I had to do for my class and my professor didn't explain this topic that much and it's a crucial topic we need to understand. This video has helped me so much THANK YOU!!!

  • @sauravdas7591
    @sauravdas7591 4 года назад +37

    Sir, massive respect to you.
    I have never understood Master's Theorem in my college class. But thanks to you.
    Regards,
    Saurav

  • @prayagparikh8020
    @prayagparikh8020 6 лет назад +28

    You english is so fluent and easy going👍

  • @JoseSanchez-vv1zd
    @JoseSanchez-vv1zd 4 года назад +14

    Greetings from America, and thank you very much! Your videos are some of the best I've seen. 🙂

  • @eddiechen6389
    @eddiechen6389 4 года назад +13

    This guy is a GOD level teacher lol. Big thanks to U

    • @jayvaibhawverma
      @jayvaibhawverma 10 месяцев назад

      Yup, bought his DS course on Udemy. Those are great!

  • @dimitritizam1434
    @dimitritizam1434 2 года назад +2

    Sir, you're true genius in teaching. Some people will only ignore it because of the thumbnail or your get-up. Your contents are gem.

  • @chagantisubhash
    @chagantisubhash 2 года назад +1

    Mind-blowing explanation!! I used master's theorem for over an year, but never observed these subtle things. Wonderfully proved with examples.

  • @Raj10185
    @Raj10185 Год назад +2

    Its most simplified video exist on Master Theorem first observation then going through making the cases is just Lit i remembered very easily by writing on myself in the first go tysm

  • @replykh4642
    @replykh4642 2 года назад +3

    I can say it's the MOST complete and easy to understand playlist.
    Just couldn't understand this Master Theorem before but with you I got it.
    Respect to you sir

  • @c.d.premkumar6867
    @c.d.premkumar6867 3 года назад +3

    Never come across such a Simple and Beautiful explanation so far. Further, the way to memorize the formulae is Fantastic.

  • @GoogleUser-nx3wp
    @GoogleUser-nx3wp 8 месяцев назад

    The more times you see his videos the clearer and concise it becomes hats off

  • @happytrigger3778
    @happytrigger3778 2 года назад +1

    Sir, you are the great Algos tutor that I have come across so far. I am greatly inspired by your humility and patience.

  • @g.c415
    @g.c415 5 месяцев назад

    nothing short than legendry explanation. this series is the benchmark of algo teaching

  • @satyaashokdowluri1129
    @satyaashokdowluri1129 5 лет назад +7

    After watching one recurrence relation video i thought of skippin the rest ...but you explained each and every concept like our teachers do in our elementary school(spoon feeding) which made me not to skip atleast one lecture on this.
    Thanks for last minute preparation.

  • @sairohithpasham
    @sairohithpasham 2 года назад +1

    The world is a much better place with professors like you!!

  • @SatyamKumar-bd6sq
    @SatyamKumar-bd6sq 3 года назад

    I have watched so many videos but after all I have to learn master's theorem but now I watched your sir this totally change my way of learning, you explained in that way there is no need to learn it you can derive it by yourself. Thank you so much sir!

  • @Finn-jp6pn
    @Finn-jp6pn 5 лет назад +12

    This made Master's theorem make sense!! Thank you, thank you!

  • @diptachatterjee8717
    @diptachatterjee8717 3 года назад +2

    You are the boss and best teacher i have seen on this topic..Lots and lots of love and respect
    💚💚💚💚🙏🙏🙏🙏🙏🙏

  • @shubhambatham49
    @shubhambatham49 5 лет назад +9

    Master's theorem by one of the masters' of the subject !! #GOD_LEVEL

  • @razvancarp3027
    @razvancarp3027 3 года назад +5

    Thank you my friend , LOVE FROM ROMANIAA !!!!

  • @kunalchouhan3829
    @kunalchouhan3829 5 лет назад +8

    Hats off sir !!! for your simplicity and explanation, I had never seen some explaining like this.

  • @subramaniyanvg6367
    @subramaniyanvg6367 4 года назад +2

    Its easy to understand this video because you related masters theorem with previous videos very nicely winded up recurrence relation. Thank you sir.

  • @cb-99-46
    @cb-99-46 3 года назад +1

    Thank you so much sir... i had pretty much hatred on DS & Algo .. but after watching your video everything is much easier and fun to learn ... thank you so much from bottom of my heart ... you are my saviour

  • @nacatcrazy
    @nacatcrazy 3 года назад +2

    Thank you Abdul you're a fantastic teacher! Way better than my own teacher that just reads the slides...

  • @mrunalshende1663
    @mrunalshende1663 4 года назад +6

    thank you so much sir . this is just what we need .its my last subject to prepare for gate 2021 and i can say its going well thanks to you..

  • @amberpradhan2484
    @amberpradhan2484 4 года назад +6

    Thank you, sir! I've been recommending my friends to watch your videos, You're excellent!

  • @mypointofview5400
    @mypointofview5400 6 лет назад +4

    You sir are amazing! You're making these computer science stuffs very easy. Please continue making these videos. Thank you!

  • @PRIYAGUPTA-dr1nr
    @PRIYAGUPTA-dr1nr 6 лет назад +2

    This is the best explanation of Masters theorm I have ever seen

  • @rajput3281
    @rajput3281 5 лет назад +1

    you are best teacher on youtube, you make difficult consepts easier.

  • @FARHANAHMAD-gp2ez
    @FARHANAHMAD-gp2ez 5 лет назад +2

    I dont have any word to say how good i feel from your lecture

  • @webper3630
    @webper3630 5 лет назад +1

    This video is the world`s best explanation of reccurence relations! Thanks to you!

  • @testshp
    @testshp 3 года назад +1

    Salute you sir. I have not seen a teacher in DS like you. Superb.

  • @Tanujr
    @Tanujr 4 года назад +1

    excellent video sir! tomorrow is my exam and you cleared all the 5 mark questions of masters theorem at one go!

  • @TOI-700
    @TOI-700 3 года назад +2

    Your teaching skills are God level 🙏.

  • @itsshadow619
    @itsshadow619 6 лет назад +6

    God level explanation...your english accent is so fluent and easy to understand

  • @tulsikhatri8694
    @tulsikhatri8694 5 лет назад

    this is the best ever master theorem lecture or this is the only lecture for master theorem ...thank you very much sir for this mind blowing video...

  • @YashRaj-ew8zv
    @YashRaj-ew8zv 4 года назад +1

    Your videos are a lifesaver for computer science students. Thank you sir for this wonderful explanation. 🙏🙏🙏

  • @wecodedaily7777
    @wecodedaily7777 2 года назад +1

    you have saved our life..may god bless you sir.

  • @prayasnasa
    @prayasnasa 13 дней назад +1

    now master theorem become the child theorem for me . What a nice explanation

  • @rashmikulkarni9703
    @rashmikulkarni9703 4 года назад +1

    No one has explained masters theorem better this :D

  • @kunalkheeva
    @kunalkheeva 2 года назад +1

    Thank you so much sir. I do not know how to appreciate you, have no words to mention.

  • @srinivb1
    @srinivb1 6 лет назад +3

    Sir, your videos are amazing. Truly high quality stuff. Many Thanks

  • @basudevyadav8326
    @basudevyadav8326 4 года назад

    I can't explain how well you have described this topic.

  • @sandip_kanzariya8476
    @sandip_kanzariya8476 2 года назад +1

    No any other can explain as you can...👌👌👌👌🙏🙏🙏🙏

  • @manzoorali63
    @manzoorali63 4 года назад

    sir it jas cleared the doubts of YEARSS.. simply superb concepts explained that too in easiest way...

  • @Alex-dv4nq
    @Alex-dv4nq Месяц назад

    Bro you saved my life. God bless you !

  • @samadhanghorpade2302
    @samadhanghorpade2302 Месяц назад

    00:07 Masters theorem is not applicable for decreasing functions
    01:38 The recurrence relation has a general form.
    02:24 The general form of recurrence relation is f(n) = n^k.
    03:22 The main point is that F(n) is in the form of N power K+1.
    04:17 The function F(n) is given by n power K plus 1
    05:17 The formula for calculating F(n) is F(n) = 3^n * (n^k) * a^(n/2)
    06:19 Three cases explained for n power K
    07:28 Master theorem helps solve recurrence relations.

  • @veldasrdurai
    @veldasrdurai 4 месяца назад +1

    The moment I realise my childhood was a lie 🤥🤡 06:36 😭😭😭 Now it's 12 mid night and I don't know whom to I can share my eureka moment. After writing multiple exam over this same topics now only I realise that masters theorem is this simple🎉😢

  • @dunket777
    @dunket777 6 лет назад

    amazing explanation tomorrow I have an exam I was going through many pdf on internet by chance came here your explanation is awesome

  • @sumayyahabeeba1790
    @sumayyahabeeba1790 Год назад +2

    Sir, You made us Master this theorem!

  • @tusharkumar6594
    @tusharkumar6594 2 года назад +2

    dhanyawad sir ji aapka dm sahu

  • @lawlietl944
    @lawlietl944 4 года назад +2

    For t(n)=2t(n-1)+ n solution comes out to be O(2^n) and not as the formula predicted

  • @ankitcaring
    @ankitcaring 4 года назад +1

    U made MASTER Theorem a piece of CAKE.. Just loved it.💖💖

  • @rnjnmhta.catomato
    @rnjnmhta.catomato 2 года назад +2

    6:56 masters's theorem notes;

  • @bhaskargg6018
    @bhaskargg6018 4 года назад

    Your Explanation is Great !! understood very clearly .... Many Many Thanks Sir

  • @ekanshmishra4517
    @ekanshmishra4517 5 лет назад +5

    😮this is my reaction when i saw it♥️

  • @PawanKumar-tu6ti
    @PawanKumar-tu6ti 4 года назад

    The Gem, thanks for being here sir.

  • @shitalunde24
    @shitalunde24 5 лет назад +1

    here are many guides but you are excellent .. thank u so much sir..bt there is 1 req plz upload the playlist on programming & data structure

  • @SnS-gp7du
    @SnS-gp7du 5 лет назад +1

    Thank you very much sir. Even our university teachers also follow you.

  • @amaljithev3214
    @amaljithev3214 6 лет назад +2

    Very Precise ! Nice Lectures Sir :) Doing A Grt Job

  • @tawhidshahrior8804
    @tawhidshahrior8804 3 года назад

    Thank you so much. The whole series is just beyond amazing.

  • @AlexzDum-6174
    @AlexzDum-6174 4 года назад

    May Allah bless you. This is golden video and they are free. Priceless contribution to CS by A true legend. In the Best Universities isn't explained like that.

  • @vakhariyajay2224
    @vakhariyajay2224 2 года назад +1

    Thank you very much. You are a genius. 👍👍🙏🙏👌👌🔝🔝

  • @javascriptwar9525
    @javascriptwar9525 4 года назад +1

    Great Knowledge i achieved sir.
    Thankyou so much sir☺🙌

  • @vinayturubilli8786
    @vinayturubilli8786 2 года назад +1

    This is awesome !!!

  • @rachitbhatt40000
    @rachitbhatt40000 3 года назад +1

    6:08 as far as I know it is illogical to have a < 1. It might be mathematically be correct but it is not possible.
    So if someone asks you such questions, rather than solving it prove it and them wrong.

  • @AnitShrestha
    @AnitShrestha 5 лет назад

    Now the speed that I am watching is 1.75, and I still get the same clarity. Awesome work! Thank you.

  • @ahmadhassnain7274
    @ahmadhassnain7274 3 года назад

    kamal ha kamal ha . mari sari problem hi
    solve kar di

  • @manisharya2138
    @manisharya2138 2 года назад

    I have a lot of confusion while solving coding problems, but after seeing this video all doubt clearly related to time complexity in dynamic programming.

  • @canernm
    @canernm 4 года назад +3

    @Abdul Bari Thanks a lot professor for the amazing videos. I have a question, if you could answer me please. In master's theorem you mentioned f(n) is in the order of O(n^k); WWhen the time function is T(n)=T(n-1)+logn, we have that f(n)=logn. How can "logn" be expressed as O(n^k). Am I missing something? Thanks a lot in advance!

    • @utkarshchheda3349
      @utkarshchheda3349 2 года назад

      logn can be expressed as a polynomial expression with the help of taylor series wherein k tends to infinity

    • @NguyenieTheDrew
      @NguyenieTheDrew 2 года назад

      Let's say f(n) = log_b(n). To represent this as n^k, we can say that k = log_n(log_b(n)). Therefore, n^k = n^(log_n(log_b(n))). Because of how logs and exponents work, a^(log_a(b)) = b, so therefore n^(log_n(log_b(n))) = log_b(n). Now notice that when you plug this equation for k into any of the master theorem cases, you'll get the right answers.

  • @iqra817
    @iqra817 4 года назад

    Thank You So Much Sir.😀
    For Making Tough Subjects Easy To Learn.👍😄😊

  • @hemantbhangale9505
    @hemantbhangale9505 4 года назад

    Excellent progression and crystal clear content. Thanks!

  • @sundaydavid2824
    @sundaydavid2824 3 года назад +1

    So simplified. Thank you!

  • @AwaraGhumakkad
    @AwaraGhumakkad 3 года назад +1

    Thanks for the explanation Sir - One question
    while generalizaing the below 6 statements you created --> "aT(n-b) + f(n)" which I understand.
    but how can we say that f(n) = O(n power K), because we also had T(n-1) + log n , log n doesnt come in O(n power k) class . please correct me otherwise.

  • @saifullahrahman
    @saifullahrahman Год назад

    6:35 this is master's theorem. MIC DROP

  • @manojpandey7517
    @manojpandey7517 4 года назад

    This guy is so sorted out.

  • @Han-ve8uh
    @Han-ve8uh 4 года назад +1

    How does f(n) = log n fit master theorem? Theorem says f(n) should be of form O(n^k) where k>=0. But log n does not look like n^k form. Are there restrictions on value of n too that can make k >= 0 when f(n) = log n?
    On a side note, the way i think about the big O is 1. number of times executed x 2. # steps in each loop). So the a > 1 case would be more consistent with a = 1 case if written the other way as O(a^(n/b) * n^k). Also, it seems like if a=1 and b>1, the formula can be generalized too to n/b * f(n), which makes n^(k+1) a less general formula.

    • @parthrawat3498
      @parthrawat3498 4 года назад +1

      4:16 here's the answer for your first question

  • @jananirangaraj1215
    @jananirangaraj1215 3 года назад +1

    Hello sir !!! Thanks for your videos and it's great way to learn algorithms from this channel. May God bless you with good health and wealth.. I have a doubt in solving the relation T(n) = T(n-1)+T(n/2)+n where n >0. Here should the f(n) be taken as n or as T(n/2)+n. How to solve this relation? Thanks in advance.

  • @asishraz6173
    @asishraz6173 4 года назад

    Weekend over and back to Abdul's Sir class.

  • @mpalanipsbb
    @mpalanipsbb Год назад

    Holy stuff! These are great videos

  • @for.mrinal
    @for.mrinal 6 лет назад

    Such a great teacher you are Sir! Awesome!!

  • @me59080
    @me59080 2 года назад

    Outstanding explanation.

  • @srajanchansoriya4344
    @srajanchansoriya4344 5 лет назад +1

    East or West, Bari Sir is the Best!!!

  • @muhammadowais582
    @muhammadowais582 11 месяцев назад

    watching in 2024, with paper in the morning. . . .very helpful

  • @relaxationmusic3535
    @relaxationmusic3535 2 года назад

    thanku sir your explaination is just outstanding

  • @manojjeswani9061
    @manojjeswani9061 6 лет назад +1

    Best ever explanation Sir

  • @shriganeshayenamah3422
    @shriganeshayenamah3422 2 года назад +1

    Thank You very much sir🥳🥳🥳🥳🥳🥳🥳

  • @abhijithalder4567
    @abhijithalder4567 6 лет назад +2

    Great job😍

  • @fardinahosanshawon9727
    @fardinahosanshawon9727 3 года назад

    Thanks sir,love from Bangladesh

  • @MenukaIshan
    @MenukaIshan 5 лет назад +4

    Sir, This Master theorem definition is different than other definitions available on the Internet? :O

    • @umairalvi7382
      @umairalvi7382 4 года назад

      This is a shortcut method of masters theorem,so that one can remember easily.

  • @HimanshuSharma-ov8cu
    @HimanshuSharma-ov8cu 5 лет назад

    Thanks a lot sir, Great explanation.. I got this very easily and clearly....

  • @michaelkochka7668
    @michaelkochka7668 4 года назад

    Thank you, sir! Your videos are amazing.

  • @pearlminestudios7568
    @pearlminestudios7568 6 лет назад +5

    *Master’s Theorem* : 6:37

  • @study-me1oe
    @study-me1oe 2 года назад

    at 7:19 , should the f(n) be multiplied by n?
    similarly when he used the f(n)=n^k for that same explaination, he didn't multiplied it by n i.e, (n^k * n). Can anyone explain??