Тёмный

Master Theorem 

randerson112358
Подписаться 19 тыс.
Просмотров 274 тыс.
50% 1

Solve T(n) = T (2n/3) + 1 using the master theorem
Easy Algorithm Analysis Tutorial:
www.udemy.com/algorithm-analy...
Recurrence Relation Tutorial:
www.udemy.com/recurrence-rela...
Please subscribe !
►Website: everythingcomputerscience.com/
►Support this channel on Patreon: / randerson112358
►Discrete Mathematics Workbooks:
(1) Practice Problems in Mathematics - www.amazon.com/gp/product/013...
(2)Discrete Mathematics Workbook - www.amazon.com/gp/product/013...

Опубликовано:

 

7 фев 2016

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 254   
@wixic111
@wixic111 6 лет назад
£9000 a year and a one hour lecture, then one guy with a whiteboard on youtube explains it better in 5 minutes.....
@randerson112358
@randerson112358 6 лет назад
Thanks!
@wixic111
@wixic111 6 лет назад
randerson112358 nah thankyou this is hopefully going to save me for my exam on Wednesday :')
@justarandomlol
@justarandomlol 5 лет назад
@@randerson112358 Do you have any exemple of using Master's Theorem on an actual program? I'm having a hard time to get the f(n) correctly when I have tell the complexivity of a recursive program
@mindasb
@mindasb 5 лет назад
Power of the internet my friend :)
@Mary-ws4jr
@Mary-ws4jr 4 года назад
exactly! I've been watching my teacher talk about this for a week and she never explained it this well.
@tiredkiris
@tiredkiris 7 лет назад
This has to be the most short and easy to understand video about the Master Theorem. Thank you for this. You've done a great job, good and clear voice and short but easy to follow explanation. Would give you 10 upvotes if I could.
@randerson112358
@randerson112358 7 лет назад
+tiredkiris thanks very much!
@assaimfelizasolo1797
@assaimfelizasolo1797 2 года назад
I agree!!!!! thank you !!!!!
@AetherSummers
@AetherSummers 3 года назад
This is by far the best video on the Master Theorem on RU-vid. Thanks for cutting out the stuff we don't need and getting straight to the point.
@TheGobboLord
@TheGobboLord 7 лет назад
I like how you not only explain this very well, but also reply to almost every comment. Good job!
@randerson112358
@randerson112358 7 лет назад
Thank you ! I try to respond to as many comments as possible. Thanks for watching and I hope it was helpful.
@HunterHunter150
@HunterHunter150 4 года назад
I've had so much anxiety working on homework all day. You just made my night so much better. Awesome lecture. Thank you so much. I feel like I actually understand the subject matter now. You're really talented at breaking things down and making them easier to understand
@112rapture
@112rapture 6 лет назад
You have an efficient way of teaching! I could tell in the first 5 seconds that this is what I am looking for. keep it up! REPLY
@kaidokun2742
@kaidokun2742 6 лет назад
Super helpful. Simplified the entire concept/theorem in 5 minutes. Thank you very much
@ZirJohn
@ZirJohn 4 года назад
Thanks, I have an algorithms exam tomorrow and this helped me understand the theorem a lot better.
@randerson112358
@randerson112358 4 года назад
Thanks Zir, I hope you did well on your exam.
@angamandu
@angamandu 8 лет назад
Very straight forward and easy to understand. This was useful for my upcoming algorithms exam. Thank you.
@ishaanj8023
@ishaanj8023 4 года назад
This is my first time learning about the master theorem and thanks to you in only 5 minutes I know exactly how it works
@Kubaguette
@Kubaguette 5 лет назад
Im studying IT at Frankfurt in Germany at the "Goethe University" and im learning with your Video ten times better than with the script and informations from the Professor, thank you very much!
@nikiffleser2599
@nikiffleser2599 5 лет назад
I think Professor Schnittgers scripts are great though^^ xD
@donnajackson4271
@donnajackson4271 2 года назад
I sure wish my professor could speak as clear as you. this helped a lot.
@aesth55
@aesth55 Год назад
Thank you man. Very clear, short and straight forward. Exactly what one needs when studying under time pressure.
@gabrielraphaelgarciamontoy1269
Can't appreciate you enough, you've helped me out so much! All of your videos are so clear!
@randerson112358
@randerson112358 5 лет назад
Thanks for watching Gabriel
@nullReferenceException001
@nullReferenceException001 6 лет назад
thank god i have an algorithm quiz coming up and this has helped so much
@HuyPham-gr6cs
@HuyPham-gr6cs 5 лет назад
Thank you for the concise explanations, help me understand the Master Theorem better than the 2 hrs of lecture and discussion at my university
@randerson112358
@randerson112358 5 лет назад
Glad you enjoyed the video and thanks for watching
@kevinsantana876
@kevinsantana876 6 лет назад
Great example, really nice how you show examples that require some thought instead of using basic plug and play examples.
@laureeeeeeeeeeeeeeen
@laureeeeeeeeeeeeeeen 5 лет назад
1:10 I have been studying for like 24 hours and idk if I'm hallucinating or the camera is just doing that.
@jcdenton134
@jcdenton134 6 лет назад
The problem I was trying to solve happened to be the exact one you did, very helpful thanks!
@randerson112358
@randerson112358 6 лет назад
That's awesome !
@jjmendozer
@jjmendozer 5 лет назад
Thank you for this although one question, how do you film your vids?
@theultimatereductionist7592
@theultimatereductionist7592 6 лет назад
I never heard of this Master Theorem. I am searching online, everywhere, for a proof of the late great combinatorialist Percy MacMahon's Master Theorem equating the coefficients of a certain series to the reciprocal of a determinant of matrices.
@kenny_mc_cormick
@kenny_mc_cormick 7 лет назад
Really well explained, thank you
@vitoralves9850
@vitoralves9850 6 лет назад
SIMPLE AND CLEAN THANKS
@julesmarecaux3605
@julesmarecaux3605 5 лет назад
three years later and still preaching. exam is tomorrow and i got this down in 5 minutes... time to practice! thank you!
@aaallami
@aaallami 7 лет назад
Thanks man its completely helpful plus easy
@crash6442
@crash6442 Год назад
Thank you so much! Short, simple, clear, and easy to understand! :)
@nylak5479
@nylak5479 5 лет назад
Just before an exam, i have to say this made the master theorem made it a shit ton easier
@simonedemartinis
@simonedemartinis 5 лет назад
Very clear, thank you very much!
@MrJteng3
@MrJteng3 6 лет назад
Thanks for making a great video that everyone can understand. I appreciate your hard work, keep it up!
@lucastvms
@lucastvms 7 лет назад
Thanks man! You made an awesome video! You have my gratitude!
@randerson112358
@randerson112358 7 лет назад
Thanks for watching Lucas !
@Watashiwapitadesu
@Watashiwapitadesu 8 лет назад
Thanks for this!
@jamesmeegan2066
@jamesmeegan2066 Год назад
Wow its insane how much complicated other videos make master theorem, thank you I finally understand.
@randerson112358
@randerson112358 Год назад
Some other videos may indeed make it seem more complicated, but I hope my video helped !
@matthewhamilton1939
@matthewhamilton1939 6 лет назад
yet another top performance from randerson
@siddhantsangal5298
@siddhantsangal5298 4 года назад
Thank you sir for making this so easy!
@hadijannat4821
@hadijannat4821 2 года назад
Thanks a lot for this video. Could you pls name the book in which this specific Notation of master theorem is used? because I have learned another notation and I am wondering which book uses this form of the master theorem.
@visweswarann7486
@visweswarann7486 5 лет назад
Excellent work! Thank you!
@SeseShakey
@SeseShakey 4 года назад
You're so calm and amazing, now i can pass my course
@randerson112358
@randerson112358 4 года назад
Thank you Suhail
@samanthaorogvany-charpenti6140
Thank you so much for the thorough explanation!
@randerson112358
@randerson112358 7 лет назад
Thanks for the kind comment.
@jordanlevitt1638
@jordanlevitt1638 5 лет назад
Man, your videos are so, so helpful. Thank you.
@randerson112358
@randerson112358 5 лет назад
Thank you!
@MangoDrankE
@MangoDrankE 4 года назад
You made this so easy bro. Thank you!
@garrettwitzenburg2873
@garrettwitzenburg2873 6 лет назад
Great explanation!
@mwerensteijn
@mwerensteijn 8 лет назад
Thank you! Perfect explanation!
@randerson112358
@randerson112358 8 лет назад
Thank you very much !
@dooki51
@dooki51 3 года назад
Thank you. This was immensely helpful.
@jackstrosahl
@jackstrosahl 4 года назад
The definition I was going off was trying to define Theta at the same time, this makes a lot more sense.
@haowu4018
@haowu4018 6 лет назад
Great video. Nice and short, thank you!
@Sinns1705
@Sinns1705 8 лет назад
Best man ever!
@Gullo_mengozzi
@Gullo_mengozzi 5 лет назад
excellent video! very clear and well organized.
@C4rb0neum
@C4rb0neum 7 лет назад
Thanks. Helped me a lot.
@rocksntwigs
@rocksntwigs 5 лет назад
You sir are a legend. Thanks for this awesome explanation.
@zeenpc5645
@zeenpc5645 6 лет назад
O man thank you so much for this beautiful explanation.
@mariestolk3794
@mariestolk3794 4 года назад
Thankyou for the video! Very helpful and accessible!
@sally1645
@sally1645 4 года назад
straight to the point! thanks man
@moiseszanabria6166
@moiseszanabria6166 2 года назад
Bless your soul, you're a natural teacher
@tuqamohammad3401
@tuqamohammad3401 5 лет назад
Thank you so much 😊 This video is very helpful 👌🏻
@Idduboss
@Idduboss 3 года назад
Thank you bro, you are better than our university "engineering school" teachers From France, you saved us
@oximas
@oximas 4 года назад
what is masters theorm used for?
@anrekopa
@anrekopa 7 лет назад
straight to the point. like it brother
@muhammadbinsaleem8565
@muhammadbinsaleem8565 6 лет назад
I have a question if n^d is equal to n! Then what will be answer
@nigotheboss
@nigotheboss 7 лет назад
how can you just move the camera so smooth
@OrnateOwl
@OrnateOwl 6 лет назад
Exactly what I was thinking. I thought he had it on his head, or had a stabilizer.
@jon87386
@jon87386 5 лет назад
Some phones have built-in optical image stabilization or he did it in a video editor, which could be what's causing this. In the case of the editor, it 'crops' the frame down a bit and uses algorithms to try to figure out where the camera is relative to the object being filmed, and uses that data to 'smooth' things out.
@mucahiterenozkur1124
@mucahiterenozkur1124 4 года назад
This video is such a beneficial one, appreciate that.
@marceloschena6380
@marceloschena6380 5 лет назад
Great explanation, thanks!
@randerson112358
@randerson112358 5 лет назад
Thanks!
@abdulmagedkhaled9480
@abdulmagedkhaled9480 7 лет назад
well explained, thank you and keep it up :)
@randerson112358
@randerson112358 7 лет назад
+faithless man thank you
@jordygorb
@jordygorb 3 года назад
Thanks! Helped a lot with my homework.
@akpofure9903
@akpofure9903 3 года назад
Bri you are the best man,] i cant believe I understood this in 5 minutes after watching my lecturers 30 minutes video on repeat for like the thousand time
@Youbuu2
@Youbuu2 Год назад
Thanks brother helped a ton
@dayanakamarudin5891
@dayanakamarudin5891 7 лет назад
Thank you! This helped alot :D
@randerson112358
@randerson112358 7 лет назад
Great ! Thanks for watching!
@varijadubey2252
@varijadubey2252 5 лет назад
an entire topic in 5 minutes!!!! Much help sir!
@randerson112358
@randerson112358 5 лет назад
Haha thank you
@beatajackowska5257
@beatajackowska5257 5 лет назад
You saved my life 🙏
@tranvuphuonguyen168
@tranvuphuonguyen168 Год назад
the video is really good and useful, thanks
@evelyngalvan771
@evelyngalvan771 6 лет назад
this is perfect. thank you so much
@randerson112358
@randerson112358 6 лет назад
Thanks for the nice complement !
@dillonisaacstse3924
@dillonisaacstse3924 4 года назад
Nice concise explanation, thanks!
@randerson112358
@randerson112358 4 года назад
Thank you!
@SubhanKhan-qd7sp
@SubhanKhan-qd7sp 5 лет назад
Simple and clear ! Liked it..
@miguelcastorena4293
@miguelcastorena4293 3 года назад
Thanks so much, u give the best explanations!
@free-palestine000
@free-palestine000 3 года назад
very very helpful thank you 🙏🏾
@wallone2085
@wallone2085 7 лет назад
Thanks. Using your method, how would you solve. T(n) = 3T(n/4) + nlgn
@randerson112358
@randerson112358 7 лет назад
Hi , This isn't my method it was popularized by the canonical algorithms textbook Introduction to Algorithms by Cormen, Leiserson, Rivest, and Stein, in which it is both introduced and proved. Not all recurrence relations can be solved with the use of the master theorem; its generalizations include the Akra-Bazzi method. So this would be one case which this method cannot solve, but in order to solve it see the links below and use those methods: Solve Recurrence by Iteration: www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0ahUKEwjhzoGnqI_PAhVFYJoKHe5AAvEQuAIINjAE&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTEzbkIggJfo&usg=AFQjCNGV-zo1eD3sTWiHxYjWXI_WSynY9A&sig2=-rbnIJgSfIUCN7qoJbgwYQ Solve Recurrence when MasterTheorem Fails: www.google.com/url?sa=t&rct=j&q=&esrc=s&source=video&cd=1&cad=rja&uact=8&ved=0ahUKEwiU_orJqI_PAhWlCJoKHfy9CfEQuAIIHTAA&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6s_O6uVLSso&usg=AFQjCNFgeMP_x5BvaavF9t5N1XPOHtuk2g&sig2=90alQGinjmrwSTyRsMTuyQ&bvm=bv.132479545,d.bGs Solve recurrence using Akra bazzi: www.google.com/url?sa=t&rct=j&q=&esrc=s&source=video&cd=2&cad=rja&uact=8&ved=0ahUKEwjR-O3RqI_PAhVrIJoKHTwZD-8QuAIIJTAB&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGl2v9G0Rn4k&usg=AFQjCNFtnpo9YMUl9JjsB5gdM-p5xARC2A&sig2=dGlokJEAfC6KhOMTuCPttQ&bvm=bv.132479545,d.bGs Thanks for watching; Randerson112358
@charliewalsh6890
@charliewalsh6890 5 лет назад
if we have Τ(n)=κT(n/a) + λT(n/b) +f(n) do you know how we find the O?
@diegosantiagosantiago6465
@diegosantiagosantiago6465 5 лет назад
"a" is greater or equal than 1.
@chaos1212121212
@chaos1212121212 4 года назад
Why does theta(n^d logn) = theta(logn) ?
@jchud13
@jchud13 5 лет назад
I LOVE YOU RANDERSON
@j.f.m.4265
@j.f.m.4265 6 лет назад
Great video, instant subscribe, it was really well explained, you made every possible aspect of the theorem and it's steps simple to understand
@randerson112358
@randerson112358 6 лет назад
Thanks for the great comment and for subscribing !
@j.f.m.4265
@j.f.m.4265 6 лет назад
Could you just tell me what to do when we have the following recursion C(N)=C(N-1) + N^2 what will the value of B be in this case? I have the exam in a few hours, if you could reply I would deeply appreciate it!
@randerson112358
@randerson112358 6 лет назад
J. F. M. You cannot use the master theorem to solve that recurrence relation. Use the substitution/ iteration method ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-TEzbkIggJfo.html
@j.f.m.4265
@j.f.m.4265 6 лет назад
Thank you so much!!! May I ask you one final thing? Given the following recursion C(N)=2C(N/2) + NlogN whats the value of d and how do you determine it?
@j.f.m.4265
@j.f.m.4265 6 лет назад
Could you please at least tell me which theorem I'm supposed to use for this last recursion C(N)=2C(N/2) + NlogN
@SumithaVinil
@SumithaVinil 7 лет назад
Thank you very much!
@randerson112358
@randerson112358 7 лет назад
+Sumitha Vinil thanks for watching!
@brianc.3609
@brianc.3609 3 года назад
Appreciate for the lecture 👍
@jaydangar7897
@jaydangar7897 7 лет назад
How can i solve recurrence T(n) = T(n-1) + O(1)?Help me using Master Method.
@jgraiver
@jgraiver 7 лет назад
why did you pick the d=logb(a) case? how did you know that was the right one to use?
@randerson112358
@randerson112358 7 лет назад
I chose d = logb(a) because it's a true statement from this example. Let me explain, d = 0, a = 1, b= 3/2 so log base (3/2) of 1is equal to 0 which is also the value of d. So d is equal to log base (3/2) of 1, or d = logb(a) I hope that helps! I also have a tutorial on solving recurrence relation using other methods: www.udemy.com/recurrence-relation-made-easy/learn/ Thanks for watching ; randerson112358
@mattiacppellino6629
@mattiacppellino6629 2 года назад
Thank you so much, this is so clear!!
@randerson112358
@randerson112358 2 года назад
Thank you for watching!
@Cherryblossoms110
@Cherryblossoms110 4 года назад
I'm just looking at CLRS and comparing it to what you have and I'm questioning why they needed to go so extra with the notation when it's really as simple as you made it appear...
@amirrezaavani5424
@amirrezaavani5424 6 лет назад
It was perfect Thank you
@randerson112358
@randerson112358 6 лет назад
Thank you !
@mewgaming7686
@mewgaming7686 10 месяцев назад
good video, thanks for teaching me
@HAbarneyWK
@HAbarneyWK 2 года назад
holy crap, so this can be explained in 5 mins or less. Cheers sir!
@rayjennings1861
@rayjennings1861 5 месяцев назад
This is a great video! One small fix, for the 2nd case it's O(n^d * lg n) lg not log
@shortsforall5687
@shortsforall5687 2 года назад
Simple and excellent
@tristynlarson7194
@tristynlarson7194 6 лет назад
Does this only give Big theta complexity? Can you use this to prove Big O complexity?
@tristynlarson7194
@tristynlarson7194 6 лет назад
Or is that Big O that you're using?
@TheTouch1582
@TheTouch1582 4 года назад
thank you very much !! helped me a lot
@randerson112358
@randerson112358 3 года назад
Glad it helped!
@gabriel-oc4pt
@gabriel-oc4pt Год назад
Thank you man!
@egitim61
@egitim61 3 года назад
you saved and my 12 friends from this fucking master theorem sir! Thank you very much! Greetings from Turkey
@randerson112358
@randerson112358 3 года назад
Haha hello, thank you all for watching!
@toushi100
@toushi100 3 года назад
bro that was very easy to understand WD
@lukec2826
@lukec2826 Год назад
Is d = 0 because n^0 = 1? And if that is the case... if f(n) was sqrt(n), does that mean d = 1/2 since sqrt(n) = n^ (1/2) ? Thanks in advance!
@eldoctorfausto
@eldoctorfausto 2 года назад
EXCELENTE VIDEO!!! SALUDOS
@Bugfishx95
@Bugfishx95 6 лет назад
THANK YOU SO MUCH!
@randerson112358
@randerson112358 6 лет назад
Hey Dennis, thanks for watching !
@zainie1081
@zainie1081 4 года назад
Sir, you are amazing. Thank you so much!
@randerson112358
@randerson112358 4 года назад
Thank you !
Далее
Prove Recurrence Relation By Master Theorem
5:09
Просмотров 45 тыс.
Me: Don't cross there's cars coming
00:16
Просмотров 10 млн
Envy recreating this new trend ✨ #shorts
00:14
Просмотров 2,3 млн
Recursion Tree Method
14:04
Просмотров 150 тыс.
Comprendre le "Master Theorem"
8:00
Просмотров 215
Master Theorem Visually Explained
12:13
Просмотров 29 тыс.
P vs. NP and the Computational Complexity Zoo
10:44
Просмотров 3,4 млн
Master Theorem  Example
7:00
Просмотров 58 тыс.
2.2 Masters Theorem Decreasing Function
8:10
Просмотров 623 тыс.
Recurrence Relation Proof By Induction
7:42
Просмотров 72 тыс.
Me: Don't cross there's cars coming
00:16
Просмотров 10 млн