2.4.1 Masters Theorem in Algorithms for Dividing Function #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2018
  • Masters Theorem for Dividing Functions
    Explained All cases with Examples
    PATREON : www.patreon.com/bePatron?u=20...
    Courses on Udemy
    ================
    Java Programming
    www.udemy.com/course/java-se-...
    Data Structures using C and C++
    www.udemy.com/course/datastru...
    C++ Programming
    www.udemy.com/course/cpp-deep...

ความคิดเห็น • 787

  • @6789temi
    @6789temi 3 ปีที่แล้ว +883

    This guy should be teaching all my CS professors.

    • @kamranaesthetics
      @kamranaesthetics 2 ปีที่แล้ว +2

      😂

    • @devinosborne3396
      @devinosborne3396 2 ปีที่แล้ว +3

      facxxxx

    • @liquidred257
      @liquidred257 2 ปีที่แล้ว +18

      or at the very least be writing a textbook. In mine the first thing they wanna do after introducing the theorem is prove it and I'm like "How the fuck am i going to understand the proof behind the theorem if I am using this to prove things? Thats like some make the box that contains the scissors require scissors to open logic!"

    • @smchannel891
      @smchannel891 2 ปีที่แล้ว +1

      Your CS teacher should see this😂

    • @ezprogramming7887
      @ezprogramming7887 2 ปีที่แล้ว +1

      on god

  • @donnxayy
    @donnxayy ปีที่แล้ว +150

    Absolute legend. I couldn't see myself passing DSA without this man! Love how he stops and stares at me showing how simple it is.

  • @GS7999
    @GS7999 3 ปีที่แล้ว +387

    Usually other teachers show 2-3 examples in a 10-20 min video and this man has shown us every type of example in just 16 min. No doubt that he is a living legend for me atleast

    • @georgeth4421
      @georgeth4421 3 ปีที่แล้ว +3

      I mean it's basic substitution. Given the general case you can do the rest yourself. He is an extremely good teacher, but this is baaic substitution. No one spends a 10min video explaining the mappings between a variable and the number, it's obvious. Peace

    • @amiprogramming4897
      @amiprogramming4897 2 ปีที่แล้ว +17

      @@georgeth4421 I sAy WhAtEvEr i WaNt

    • @ntrfansclub8951
      @ntrfansclub8951 9 หลายเดือนก่อน

      What about 2T(n/2) +2??

    • @rrhxm
      @rrhxm 9 หลายเดือนก่อน

      O(n)@@ntrfansclub8951

  • @RahulKumar-dj8bt
    @RahulKumar-dj8bt 3 ปีที่แล้ว +436

    I have attended my M Tech class on Master theorem then repeatedly watched the M. Tech teacher's videos and also refereed the book but there was still something was not clear and it was like walking in dark tunnel ....Then I saw your video for 1 Hrs and thats it I can see the light. Now I am just checking the topics in book and directly opening your Videos ... You are my Guru ..Happy Teachers Day !!

    • @saurabhsoni738
      @saurabhsoni738 3 ปีที่แล้ว +4

      Bro, I want to ask you
      1. If this playlist contain practice problems
      2. Will this playlist be helpful in GATE
      3. Which is the best channel for learning DSA

    • @pragmatic_p8
      @pragmatic_p8 3 ปีที่แล้ว +13

      @@saurabhsoni738 You can prepare for GATE from these videos..you can't find every gate problem but..your foundation on algorithms will be strong after watching sir's videos!! i am also preparing for gate'22 and i am referinfg this playlist

    • @Rahulverma__
      @Rahulverma__ 2 ปีที่แล้ว +2

      @@saurabhsoni738 yes bro sure

    • @saimtanweer4145
      @saimtanweer4145 2 ปีที่แล้ว +2

      @@pragmatic_p8 so sis what is ur gate score n rank ??

    • @mixshots1801
      @mixshots1801 ปีที่แล้ว +1

      nice

  • @lupita3689
    @lupita3689 4 ปีที่แล้ว +58

    At the beginning I was like how the heck am I gonna remember all this, then after a few examples, boom! You’re good at this!

  • @marcgomes5262
    @marcgomes5262 3 ปีที่แล้ว +67

    Mr. Bari, you are probably one of the best teachers that I have seen on these difficult subjects. I have some of your courses on Udemy and they have helped me out so much. Thanks for your efforts.

  • @mohamadchadijamil3735
    @mohamadchadijamil3735 5 ปีที่แล้ว +177

    i wish you were the professor for algorithms in my school

    • @SATISHKUMAR-qk2wq
      @SATISHKUMAR-qk2wq 5 ปีที่แล้ว +6

      He is an alumni of nit Warangal

    • @avikbose3849
      @avikbose3849 4 ปีที่แล้ว +1

      Telangana

    • @prasannanivas4575
      @prasannanivas4575 4 ปีที่แล้ว

      Whaaatt!! You had algorithm in ua school itself?

    • @kumartatsat868
      @kumartatsat868 3 ปีที่แล้ว +2

      @@prasannanivas4575 I guess he means college

  • @zaybali2017
    @zaybali2017 5 ปีที่แล้ว +609

    May Allah grant this main a high rank in Jannah

  • @Your-Average-Gym-Bro
    @Your-Average-Gym-Bro 4 ปีที่แล้ว +201

    15:03 "You got a problem with me?"

    • @jay-rathod-01
      @jay-rathod-01 3 ปีที่แล้ว +3

      bro!!!!!!!!!!!!! stop it. I bet your face will be worse if you were so into the algorithms.

    • @saadmanomar7754
      @saadmanomar7754 3 ปีที่แล้ว +5

      @@jay-rathod-01 whooosh

  • @mihir7126
    @mihir7126 10 หลายเดือนก่อน +6

    Using these videos after 5 years for my masters to revisit the topics in US is a treat. Thanks!

  • @hassaanahmad5152
    @hassaanahmad5152 4 ปีที่แล้ว +49

    I was allergic to this subject, you made me fall in love with it.

    • @random-0
      @random-0 3 ปีที่แล้ว

      lol allergic

  • @aidessss
    @aidessss 3 ปีที่แล้ว +16

    the 16 minutes that were better than the 2 hours by my professor, it's almost too good to be true.
    you absolute legend

  • @abyk92
    @abyk92 4 ปีที่แล้ว +36

    Mr. Bari you are absolutely the best in teaching Computer Science concepts. I wish all my professors were like you. Thank you so much for doing this for us!

  • @mattg8844
    @mattg8844 ปีที่แล้ว +2

    One of the greatest teaching videos I've ever seen. You didn't just make it less scary, you made it fun. Thank you so, so, so much!

  • @MegaGemoroy
    @MegaGemoroy 3 ปีที่แล้ว +6

    Amazing how well this is explained. I couldn't wrap my head around after watching my lecture and Mr Bari explained it in 16 minutes. Thank you so much!

  • @nguyenson1177
    @nguyenson1177 4 ปีที่แล้ว +18

    In case 3,
    if p > 0 then O(n^k*logn^p)
    if p

    • @janvisoni2619
      @janvisoni2619 3 ปีที่แล้ว

      Ya i felt the same!

    • @dakota5569
      @dakota5569 3 ปีที่แล้ว +1

      Isn't it in Case 3, p>= 0 then THETA(n^k*(log n)^p), and p

    • @miowmiow9431
      @miowmiow9431 2 หลายเดือนก่อน

      it will be easier to remember

  • @tristinbutz7244
    @tristinbutz7244 4 ปีที่แล้ว +9

    This was an excellent explanation. Thank you for simplifying the complexity, then going into the fundamentals of its complexity. Most CS videos fail to do this. Subscribed.

  • @souravmahanty7025
    @souravmahanty7025 2 ปีที่แล้ว +5

    Wow. Just wow. So much clearer than anything else I have seen in my college-level data structures classes. This is amazing and I thank you greatly for uploading such valuable information onto the internet for others to learn.

  • @studywithrobin2715
    @studywithrobin2715 3 ปีที่แล้ว +128

    4 minutes in, I was still thinking "I don't understand, this looks even harder than how the professor explained it."
    7 minutes in, I'm starting to see the pattern and get it. I'm not a traditional computer science student, so this really helps.

    • @TuringTested01
      @TuringTested01 2 ปีที่แล้ว +4

      it is hard for a traditional computer science student as well so dont think like we are some geniuses

    • @AyanKhan-zh4it
      @AyanKhan-zh4it ปีที่แล้ว

      so true T_T

  • @ankitcaring
    @ankitcaring 3 ปีที่แล้ว +8

    Believe me Master's Theorem can't be explained better than this.
    He is the *Master* in teaching Master's Theorm

  • @tsbatu61
    @tsbatu61 ปีที่แล้ว +2

    everytime you explain something, you turn around and look at my face like "brother, so simple right". And I love it !!

  • @benjaminhayduchok8719
    @benjaminhayduchok8719 3 ปีที่แล้ว +2

    You are one of the best online instructors I have ever seen on TH-cam. Thank you so much for these videos.

  • @superwendel
    @superwendel 4 ปีที่แล้ว +22

    8:58 "Directly put it here". You're the best Sir ! Great Lesson !

  • @abhishekbhagat5550
    @abhishekbhagat5550 3 ปีที่แล้ว +5

    I really thankful to you ABDUL BARI sir from the core of my heart. During 4 years of engineering in my college I was unable to get the concept of algorithm .then I started preparation for gate took coaching then also same with algorithm subject .but now I watch your videos and getting all the concept clear .and I also recommend my friends to watch your videos on algorithm to get the concept. May God Bless You.

  • @jacobfinley8664
    @jacobfinley8664 ปีที่แล้ว +1

    I've been stressing so much because I wasn't quite grasping the material my professors were handing me, but since I have watched this I feel like I understand it! I love your videos, they help so many people!

  • @stavyadatta9650
    @stavyadatta9650 4 ปีที่แล้ว +9

    15 min of this better than 1 hour lecture on master's theorem

  • @shanthoshable
    @shanthoshable 5 ปีที่แล้ว +21

    Thank you sir. I just finished my exam. It was because of your videos that I passed. Love from Australia ☺️

  • @adipratapsinghaps
    @adipratapsinghaps 3 ปีที่แล้ว +4

    Perfect I have 4 years of experience and I never could relate mathematical functions with computer functions. You have changed my view. I think this will improve my DS & Algo skills. You are brilliant, yet simple.

  • @aleenaneupane5701
    @aleenaneupane5701 5 ปีที่แล้ว +16

    It was really helpful. Every college needs a tutor like you.Thank you so much for explaining the topic so well.

  • @midhungopalakrishnan397
    @midhungopalakrishnan397 3 ปีที่แล้ว +2

    I have come across Masters theorem many times, but never got a grip on how exactly it happens without remembering the cases. Perfectly understood the idea now.. Thank you Sir!

  • @chidigam
    @chidigam 5 ปีที่แล้ว +3

    I feel, lot of people have difficulty in understand this subject, you made it easy. Thanks a ton.

  • @leobuller
    @leobuller ปีที่แล้ว +5

    Wow in just 16 minutes you've explained this topic so much better than my professors. Well done and thank you!

  • @saroshfaisalkhan3531
    @saroshfaisalkhan3531 6 ปีที่แล้ว +32

    Jazak Allah for clearing my concept..sir, you teach in very neat n clean way..Thank you!!

  • @rathin4
    @rathin4 3 ปีที่แล้ว +24

    8:57 should be O(n^2*log(n)) since it is case 2 sub-case 1 (p = 0 => p > -1)

  • @nguyenvankhanhduy3958
    @nguyenvankhanhduy3958 ปีที่แล้ว

    I really admire your contribution to youtube learning material. Your video have proved that my teacher is so lazy that he didn't give us a single hint that these knowledges exist. Once again, thank very much!

  • @sudsjourney
    @sudsjourney 5 ปีที่แล้ว +6

    No words to explain how helpful your videos are. You made the algos so easy that even a 12th student can understand it thanx alot for your videos.

  • @evinwoon6809
    @evinwoon6809 4 หลายเดือนก่อน +1

    Man, he reminds me of one of my secondary school's accounting teacher. He explained every concepts with many examples like this. However, we were so dumb that we thought it was so dry and uncharismatic. Didn't help that he had a very calm and gentle demeanour so the whole class just walked all over him.
    Now i realised that it is the most efficient way to acquire knowledge. I just wish I had the chance to tell him how much i appreciated him, so I'll use this chance to thank Mr Abdul Bari instead. Thank you sir, please continue to teach forever:)

  • @Prince_Kabab
    @Prince_Kabab 4 ปีที่แล้ว +1

    What a clear and informative video. I did not understand anything concerning Master's theorem, and the algorithm book that is assigned to us over complicates its explanations. People like you make seemingly complex problems easy to approach. I wish all instructors can take a lesson from you on how lectures should be delivered. Thank you for committing time and effort to sharing this.

  • @Programmity
    @Programmity 3 ปีที่แล้ว +3

    Before watching this video i had known every formula for the master theorem and solved all examples, now i forgot all the formulas but can solve all the problems of reccurence relation.... Great :)

  • @masnoonjunaid
    @masnoonjunaid 4 ปีที่แล้ว +4

    Initially I started to learn with cormen book , got stuck , because I have been mainly working on web technology, therefore anyhow passed semester examination, later I realize a gap of core algorithm concept, started to learn in 6th semester, your videos made my path easy and gave it a great encouraging start, sticking with you for c++ programming too, Sir thank you for your quality content , Your videos raised my level ,
    Hey viewers, if you are new here, stick here , this is the best algorithm lectures on TH-cam ,

  • @ashwineemehta9449
    @ashwineemehta9449 2 ปีที่แล้ว +5

    You are just the best! Concepts are so neatly and clearly explained! Appreciated and thank you for the effort. Keep it up!

  • @raminmousivand4257
    @raminmousivand4257 2 ปีที่แล้ว +1

    This video is the best one among all tutorials, books, and articles I went through. Thank you so much for this!

  • @ericandes4288
    @ericandes4288 ปีที่แล้ว +2

    I wish I found your channel years ago. You took something that my professor made sound like rocket science and showed me how simple it is. Thank you

  • @brayaon
    @brayaon 5 ปีที่แล้ว +1

    No hay nada mejor que ver que la manera en cómo usted explica. Saludes desde Colombia. Gracias!

  • @husein_alfil
    @husein_alfil ปีที่แล้ว +1

    You are a treasure for us ! The hardest topic in CS (Theoretical CS ) is so, because it not taught like this !!
    Thank you very much for your time and patience !

  • @dreaming_vin
    @dreaming_vin 4 ปีที่แล้ว +10

    Sir, you are such a great teacher, thank you for sharing your talent for the benefit of us.

  • @theodosissarmadakis913
    @theodosissarmadakis913 3 ปีที่แล้ว +3

    YOU ARE AMAZING YOU HELPED ME WITH DATA STRUCTURES 6 MONTHS AGO AND NOW WITH ALGORITHMS ANALYSIS THANK YOU SO MUCH

  • @rudrachobe7995
    @rudrachobe7995 ปีที่แล้ว +5

    Sir thank you too much I m doing my masters in the US and u are a better guru than people here.

  • @bijaykumarpun4855
    @bijaykumarpun4855 4 ปีที่แล้ว +12

    I'm not subscribed to this channel, but every time I'm recommended one of his videos, I just come to give a like and head back to what I was doing. I don't watch his videos anymore but I'll always remain grateful for how he helped me back when I was in college.

  • @yangzhou6314
    @yangzhou6314 4 ปีที่แล้ว +5

    You are the best tutor for this theorm. Very clear and understandable explaination!

  • @user-cn8sw6qd2r
    @user-cn8sw6qd2r 4 ปีที่แล้ว +30

    Thanks Professor! You are the best! 我很喜欢你的作品!非常容易理解。

  • @xsilverx1198
    @xsilverx1198 ปีที่แล้ว +2

    GOD BLESS I was on the verge of tears because of how complicated this was explained to us but you just made life a lot easier

  • @bapynshngain
    @bapynshngain 2 ปีที่แล้ว +2

    This guy should take my Data Structures' teacher's salary... My teacher can't explain anything properly but here Abdul Sir teaches us with full detail! Much appreciated!

  • @Samantha-ms9gp
    @Samantha-ms9gp 10 หลายเดือนก่อน +2

    Thank you so much, I tried viewing other tutorials for this theorem and I kept getting confused with the different variables but you made it very simple to understand what k and p are even if they are not present in the given recurrence equation!

  • @varshasamudre9004
    @varshasamudre9004 2 ปีที่แล้ว +1

    Other teachers take thousands of rupees to teach this. But you and some other teachers are providing it for free. making every concept appear as simple as possible.

  • @alfiyazahra4680
    @alfiyazahra4680 3 ปีที่แล้ว +6

    The way you teach is incredible
    thankyou so much sir, u have developed the interest for algorithms❤

  • @paulsnehasish5830
    @paulsnehasish5830 3 ปีที่แล้ว +2

    Master of Algorithm teaching us Masters Theorem

  • @amberpradhan2484
    @amberpradhan2484 4 ปีที่แล้ว +5

    Hello Sir, I have been watching all of your videos. You are the best teacher so far, the way you explain is very understandable and we are really thankful for you. God bless you Sirji.

  • @barisbasar3909
    @barisbasar3909 2 ปีที่แล้ว +2

    ok wow I am completely amazed by the way you put up this entire video. I watched it completely and did all the examples as exercises and boi am I ready for the test now

  • @bizman7485
    @bizman7485 2 ปีที่แล้ว +3

    You're the reason I'm passing my algorithms course. Respects

  • @dipbhowmik4583
    @dipbhowmik4583 4 ปีที่แล้ว +1

    You are one of the best teachers i have ever found. May God bless you sir. ♥

  • @asman3209
    @asman3209 4 ปีที่แล้ว +2

    For the first time ever I finally understand this, thank you so much

  • @VikasPandey13014
    @VikasPandey13014 ปีที่แล้ว +5

    I have heard by many people that abdul sir is The Best teacher of DSA and ADA they are absolutely right ❤

  • @dorsamotiallah3998
    @dorsamotiallah3998 3 ปีที่แล้ว +2

    I don't even know how to express what is in my mind but thank you . I've learned from you more than from anyone or anything .

  • @mayanksingh5969
    @mayanksingh5969 3 ปีที่แล้ว +13

    Sir, you are great! because of you I have regain my interest in CS

    • @abdul_bari
      @abdul_bari  3 ปีที่แล้ว +8

      Glad to hear that!

  • @tarunjindal2977
    @tarunjindal2977 5 ปีที่แล้ว +1

    No one could have explained this better! Thanks a lot.

  • @mahmoodsakib5864
    @mahmoodsakib5864 ปีที่แล้ว +1

    None of my professors explains it better than he does. He's a LEGEND

  • @shubhayudas6273
    @shubhayudas6273 5 ปีที่แล้ว +1

    Beautifully explained sir!! I understood this far better here, than from all the other sources I have referred to.

  • @shukkkursabzaliev1730
    @shukkkursabzaliev1730 3 ปีที่แล้ว +1

    Clear and straight to the point! Thank you Sir. You videos are invaluable.

  • @Shiva_polishetty
    @Shiva_polishetty 5 ปีที่แล้ว +2

    I have never seen such type of explanation ...
    sir keep going ....
    we support u!!!!!

  • @carolinacuadrapardo1491
    @carolinacuadrapardo1491 2 ปีที่แล้ว +1

    Thank you for your service! You probably singlehandedly are helping me pass my complex algorithms module

  • @collengura
    @collengura 2 ปีที่แล้ว +1

    Your video is excellent. You cleared all grey areas I had on Master Theorem. Thank you.

  • @phoenixrising164
    @phoenixrising164 4 ปีที่แล้ว +3

    Dear Sir . You such a great teacher! .. It requires a very Giving heart to be a great teacher .. You have to be a wonderul person .. God Bless you!

  • @liamward5837
    @liamward5837 2 ปีที่แล้ว +1

    Abdul, you are a hero. Thank you so much for your work. Really helping me understand these concepts! 🙏

  • @pragueSauce
    @pragueSauce 9 หลายเดือนก่อน

    Bless your heart. This was huge in helping me understand the master theorem. I appreciate the time you took to make this.

  • @wahnik6112
    @wahnik6112 3 ปีที่แล้ว +1

    Sir you are just more than awesome .. i tried to understand in class but due to absence of mind i didnt get it well but when i come to ur video ... It really hits my mind and i understood it so well because of your awesome way

  • @antongeorgiev1089
    @antongeorgiev1089 3 ปีที่แล้ว +3

    I love the look he gives after each explanation. As if he's making you understand.

  • @MichaelSmith-yh9zn
    @MichaelSmith-yh9zn ปีที่แล้ว +1

    Holy guacamole I love ya sir. My advanced algo instructor can't teach the first 6 minutes of this in an hour.

  • @napoleonborn2party205
    @napoleonborn2party205 3 ปีที่แล้ว +5

    once again you have saved me from failing my algorithms course

  • @spizzray
    @spizzray 2 ปีที่แล้ว +2

    7 minutes in and I understand you better than my professor's 3 hour lecture

  • @tinata630
    @tinata630 5 ปีที่แล้ว +1

    went to lecture, understood nothing, read the textbook understood nothing... watched Abdul Bari, understood the concept sooooo well. thank you so much you are amazing!

  • @bajirainabanu6599
    @bajirainabanu6599 6 ปีที่แล้ว +1

    Sir your style of teaching is very good. You explain the concepts in easy way. Thank you.

  • @kishorlohare2589
    @kishorlohare2589 หลายเดือนก่อน

    Earlier, I was stuck for K and P values, Now it's crystal clear, Thanks.

  • @kayalvizhikalaichelvan5283
    @kayalvizhikalaichelvan5283 4 ปีที่แล้ว +1

    Excellent Explanation Sir. I could not understand Masters theorem when I read theoretically. I learnt it using Your videos . It is very useful & simple to understand. Thanks a lot !!! :-)

  • @Finnalychangedmyname
    @Finnalychangedmyname 4 ปีที่แล้ว +2

    such a good explanation above and beyond anything I've seen

  • @VegitoUltraI
    @VegitoUltraI 3 ปีที่แล้ว +2

    such important topics and you are teaching it for free...
    respect for it..

  • @divyanshmishra5121
    @divyanshmishra5121 ปีที่แล้ว +1

    I never comment on youtube videos but couldnt help this time. You are the algorithm king. Take a bow sir!

  • @ramankumar41
    @ramankumar41 2 ปีที่แล้ว +1

    clarified all my doubts in master's theorem...best video on this topic !!!

  • @envantoeditz6182
    @envantoeditz6182 3 หลายเดือนก่อน

    I literally didn't love this theory part of my cs degree untill I found you
    You are gem.

  • @J2KJonas
    @J2KJonas 2 ปีที่แล้ว +1

    Thankyou endlessly for the great and simplified explanations!

  • @agonkusari9303
    @agonkusari9303 2 ปีที่แล้ว

    I've never written a comment on youtube-videos before, but this video is simply amazing!!!!! Thank you so much for this!!!

  • @aritradutta5679
    @aritradutta5679 5 ปีที่แล้ว +2

    Thanks a ton sir...for explaining it so well... awesome clarity.

  • @loganhumbert9079
    @loganhumbert9079 2 ปีที่แล้ว +1

    Thank you very much for your video, I didn't understand the master theorem in class, but thanks to your video and your pertinent examples I finally know how it works 😁

  • @MH-in8hz
    @MH-in8hz 5 ปีที่แล้ว +1

    Thanks a lot, didn't know it was this simple.

  • @jenniferlemley590
    @jenniferlemley590 4 ปีที่แล้ว

    I now understand this thanks to you, great teacher.

  • @prashanthvamanan1513
    @prashanthvamanan1513 3 ปีที่แล้ว

    Mr Abdul Bari Sir, you are a genius. I am so thankful for your videos. May god bless you with all happiness and good things in life.

  • @arshsaini2009
    @arshsaini2009 5 ปีที่แล้ว +2

    amazing instructions sir, god bless you

  • @kamboj65
    @kamboj65 6 หลายเดือนก่อน +1

    it's is mindblowing!! i have been studying the Data Structure and Algorithms Made Easy book and it's first chapter is about Master Theorem and could not understand how is solving all the examples there. Found this video and just in second understanding everything. thanks you very much!

  • @parthrudkiya007
    @parthrudkiya007 ปีที่แล้ว +2

    Kya padhaye hain ap Sirji! Fan ho gaye. I am in Stanford and even its professors cant explain at such ease

  • @egulsever
    @egulsever 3 ปีที่แล้ว +2

    Sir, You are "The Master". Thank you!