L-2.6: Recurrence Relation [ T(n)= 8T(n/2) + n^2 ] | Master Theorem | Example#1 | Algorithm

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.ค. 2024
  • 👉Subscribe to our new channel: / @varunainashots
    0:00 - Master Theorem
    3:56 - Question
    ►Design and Analysis of algorithms (DAA) (Complete Playlist):
    • Design and Analysis of...
    Other subject-wise playlist Links:
    --------------------------------------------------------------------------------------------------------------------------------------
    ► Operating System :
    • Operating System (Comp...
    ►Database Management System:
    • DBMS (Database Managem...
    ► Theory of Computation
    • TOC(Theory of Computat...
    ►Artificial Intelligence:
    • Artificial Intelligenc...
    ►Computer Networks (Complete Playlist):
    • Computer Networks (Com...
    ►Computer Architecture (Complete Playlist):
    • Computer Organization ...
    ►Structured Query Language (SQL):
    • Structured Query Langu...
    ►Discrete Mathematics:
    • Discrete Mathematics
    ►Compiler Design:
    • Compiler Design (Compl...
    ►Number System:
    • Number system
    ►Cloud Computing & BIG Data:
    • Cloud Computing & BIG ...
    ►Software Engineering:
    • Software Engineering
    ►Data Structure:
    • Data Structure
    ►Graph Theory:
    • Graph Theory
    ►Programming in C:
    • C Programming
    ►Digital Logic:
    • Digital Logic (Complet...
    ---------------------------------------------------------------------------------------------------------------------------------------
    Our social media Links:
    ► Subscribe to us on TH-cam: / gatesmashers
    ►Subscribe to our new channel: / @varunainashots
    ► Like our page on Facebook: / gatesmashers
    ► Follow us on Instagram: / gate.smashers
    ► Follow us on Instagram: / varunainashots
    ► Follow us on Telegram: t.me/gatesmashersofficial
    ► Follow us on Threads: www.threads.net/@gate.smashers
    --------------------------------------------------------------------------------------------------------------------------------------
    ►For Any Query, Suggestion or notes contribution:
    Email us at: gatesmashers2018@gmail.com

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

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

    Cheers to this guy for saving us a day before our exam

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

      True ⚡👍

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

      *on the day of exam 😂😂😂🥲

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

      @Roasterminator ban gaya cool chutiye jese comment karke

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

      @Roasterminator indirectly unhe paise mil rhe hai

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

      @@theabhish1 thoda sa milte hai bhai jitna wo kaam kar rha h utna nhi milte

  • @vishakasaxena5019
    @vishakasaxena5019 ปีที่แล้ว +7

    This is wonderful. Sir how simply you explain everything. My professor explains this topic in such a pathetic manner that i feel like I can never solve any master theorem question. But today I watched your video and everything became so easy. Thank you sir. I'm so grateful to you 🙏

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

    Sir you are doing a great work. It's helping many students like us to understand complex topics with ease. Plz do not stop this godly work. Thank you.

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

    Thanks sir for making these videos for us.It takes a lot of effort to make these videos in a busy schedule.

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

    Sir you are just too good. You have simplified the concepts so well. Thankyou so much sir.

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

    Literally a life saver!! Cant thank u enough 🙌🏻 THE BEST

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

      That's really a very great kind of explanation.

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

      @@psc_youtuber you're a fool
      !

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

      @@preetishpatel2306 u r nub

  • @shubhamsukum
    @shubhamsukum ปีที่แล้ว +35

    for those who are asking N3 (cube) kaise aaya.... its actually n raise to(log base b a ) that is log base2 8 = 3 ... only log base b a value is substituted nothing else.. Hope its clear ;)

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

      Explain it in pleaseee

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

      Same prblm 😢

    • @chupbe-qw1lr
      @chupbe-qw1lr ปีที่แล้ว +5

      n log 2 ^ 8 will be n^3 as 2^3 is 8

    • @lvna1754
      @lvna1754 7 หลายเดือนก่อน +2

      Answer kese aya 2^8=3 kese aya 😢

    • @user-dg9qy8st6s
      @user-dg9qy8st6s 4 วันที่ผ่านมา

      @@lvna1754 log₂8=3, it is reverse of exponent, think like this: 2 ki power KYA rakhne se 8 answer ayega ans= 2 ki power 3 rakhne se 8 ayega, so log of a (number) is just the power on the base to obtain that (number).

  • @no-body7286
    @no-body7286 3 ปีที่แล้ว +4

    this is the probably the best video to remember master theorem

  • @karthiksm9749
    @karthiksm9749 11 หลายเดือนก่อน +21

    The next day is my exam and I don't have any idea of any the subject...
    But after seeing his lectures is giving me next level confidence 🙂

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

    Thanks sir I stuck in this problems but your theory solved it 💯keep going sir👍🏻✨

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

    outstanding way to make us understand these difficult problem ,in a easy way.
    thank you dada ❣️

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

    Easiest way to learn this topic... Thank you sir

  • @subid.majumdar
    @subid.majumdar 3 ปีที่แล้ว +2

    Wah bade vaiya mauj kardi 🙏🙏 Itna aasan aur engaging tarikese concept koi nahi samjhaya
    Thank You❤️❤️

  • @user-hf9ch6ct9s
    @user-hf9ch6ct9s 7 หลายเดือนก่อน +1

    This is wonderful. Sir how simply you explain everything

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

    what a explanation
    THANK YOU SIR.

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

    it was very helpful....Thank you

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

    sir you are great ... thank you very much for the explanation

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

    Gate Smasher is best platform to study core sub related to get....ty gate smashers and obviously ty Varun Singla sir

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

    really helpful , thank you so much sir

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

    Thanks a lot very helpful to prepare for exams

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

    Sir ur doing great work thank you so much 😊

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

    Great sir.super explaination.

  • @user-lm6vi3tl1l
    @user-lm6vi3tl1l 16 วันที่ผ่านมา +1

    Best teacher ever im able to do BCA just becz of ur videos and with good marks

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

    Thanks for this video to find the solution using master theorem.It is very useful for competitive exam.Thanks a lot.

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

    bahut badhiya aadmi ho bhai aap!!! thnks a lot

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

    thank you so much sir for making me understand this, I was not able to do this for a long time

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

    Gurujee shandar jabardast zindabad

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

    Sir too good explaination thanks for teaching.

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

    Wow, thanks sir😊

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

    Sir, you are my best teacher in my whole life❤️❤️❤️❤️❤️

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

    very easy and excellent way of teaching

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

    thnk u sir. bahut ache se explain kra apne... mere mind m jaise hi koi doubt ata h... aap agle hi second m usko bhi explain kr dete ho. god bless you sir

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

    Mai ap key video dekta bad mai hu or like pehlay krta hu q k mujy pata hai k ap na sahi smjhaya hoga or ap hamesha sahi he smjhatay ho
    LOVE from Pakistan

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

    A Great Use of TH-cam

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

    Thanks a lot sir!

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

    Nice explanation 👏👏

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

    Thank you sir!

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

    thanks a lot,sir

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

    Ohhhh bhaiiii bohatttt achyyy👍

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

    Most easiest way to understand the master theorem, thanks a lot sir ❤

  • @GAU-C--RATNAKANTAHANSE
    @GAU-C--RATNAKANTAHANSE 3 ปีที่แล้ว

    Thank you sir...

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

    thank you so much sir ❤❤❤❤

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

    Sir,please cover this subejct with placement point of view as well. As DAA and DS are the most important topic in placement scenario
    Thanks a lot.

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

    i can sense my brain cells increasing after watching this video

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

    Thank you sir ❣️

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

    Excellent sir

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

    Sir apke jaisa teacher pure country m nhi h apka video dekne k bad koi dusra video search nhi krna padta h!

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

    your vedios are the best help 1 day before exam
    thanks

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

    Great 😁

  • @ShubhamSharma-rp5tu
    @ShubhamSharma-rp5tu 4 ปีที่แล้ว +4

    Sir u said that substitution method can solve any recurrence relation but here we are not given base case ?

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

    bhai ne kya samjhaya hai yaar.😍😇

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

    Thnkuu so much aj apki wajah. Se mera paper acha hua hai aur ummed hai k pass ho jaungi thnku🥰

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

    Thank you sir ❤

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

    T(n) = 2 T(n/2) + n/logn
    herer when we are calc h(n)= (logn)^-1
    So here i

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

    Thanks sir

  • @BhagatBhutale..
    @BhagatBhutale.. 5 หลายเดือนก่อน

    Video is useful 👍

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

    Very easy to learn

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

    great sir

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

    Thanks sir g 👍

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

    Kya machaya hai bhai tune

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

    Nice interpretation

  • @PratimaYadav-bg3ug
    @PratimaYadav-bg3ug 3 ปีที่แล้ว

    Thanku sir🙏

  • @akash-yq5kz
    @akash-yq5kz 3 ปีที่แล้ว

    Thankyou

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

    Excellent

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

    Sir, thank you soooo much !! What my teacher could not explain in 2 hours, you explained here in 6 minutes. Please upload more problems with video solutions for practice also. Aur sir, aise hi har topic ko explain karna ! Good Job Sir!!

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

      aapko h ki u(n) and h(n) kya h?

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

      Aanchal Gupta haan.... U(n) is the function that is multiplied with n^log a base b.... and u(n) kaise Calculate karna hai vo sir bata chuke hai.... basically u(n) is also an input dependent function ...

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

    Thank u sir

  • @salmanmanzoor6702
    @salmanmanzoor6702 27 วันที่ผ่านมา

    Love from pakistan....you are one of the best

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

    Thank u

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

    mast padhaye bhaiya !!

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

    Nice work Brother ,

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

    Superb sir g

  • @GauravSharma-zh4gk
    @GauravSharma-zh4gk 3 ปีที่แล้ว

    thankyou

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

    nice video

  • @kinzakitchen4789
    @kinzakitchen4789 3 หลายเดือนก่อน +1

    Great sir ever

  • @diptomansingh5020
    @diptomansingh5020 9 หลายเดือนก่อน +1

    what if h(m) = n2/n2 ? then it's n0 =1 , r=0 ! then which condition should i follow

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

    Research proves that
    he's the only teacher

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

    sir incase logn has -ve power then which case to use ?

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

    How we can find order of any function
    Ex.O(2),o(n^3),o(sinx),sin(ax+b)....?

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

    amazing sir! your kind of teaching is best then my university professor

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

    Thank you sir Aapne meri problem solve krdi

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

    8T(n/2)+n^3 sir then what would be the value??

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

    thanks sir,

  • @AbhishekKumar-rj8rt
    @AbhishekKumar-rj8rt ปีที่แล้ว +2

    sir what if its - instead of + sign ..then ?

  • @tinniroy-kg5gc
    @tinniroy-kg5gc ปีที่แล้ว

    I generally don't comment, but you saved my gate exams!

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

    n3 issliye hua kyuki Log 8 with base 2 == 2x2x2 = 8, 3 times 2 to get 8

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

    sir we can use masters theorem for Decreasing functions as well....

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

    sir what is the meaning of U(n) and h(n)??

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

    What should we do if the value of h(n) is 1.It matches no cases..

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

    how it will give n^3 value

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

    how can I calculate h(n) in 3T(n/2)+n^2

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

    When to use theta notation and when to use big o

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

    Thankyou sir for your explanation
    Sir I have query that master method can also be solved without finding U(n) by using formula

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

    Hail for this man 💯❤।।। 😌

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

    best

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

    Kindly make a video on recursion tree method

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

    Hi sir, great explanation. Just wanna point out that the question was T(n) = 8*(n/2)+n^2 because otherwise, it does not match with the formula. Thanks a lot anyway sir!!

  • @Naveenkumar-oh3ks
    @Naveenkumar-oh3ks 3 ปีที่แล้ว

    sir master theorem ki condition ke according
    f(n) should be polynomial multiple of n^(log(base b)a)
    is this correct

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

    👍👍👍👍

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

    plzz upload rest of the videos in this series

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

    that was Fabolus!!!!!!!!!!!!!!!!!!!!!!!..............Thnkxx