L-2.5: Recurrence Relation [ T(n)= T(n-1) +logn] | Substitution Method | Algorithm

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.ย. 2021
  • 👉Subscribe to our new channel: / @varunainashots
    ►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

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

  • @KaziMd.RakibulHassan
    @KaziMd.RakibulHassan 5 หลายเดือนก่อน +94

    For those who are confused when sir wrote the equation n - k = 1,
    so, k = n -1
    if we input the value in the eq then it is become
    1 + log2 + log3 + log4+ log5 + ......
    as we all know log1=0
    if we write,
    1+0+ log2 + log3 + log4+ log5 + ......, there is no problem adding a zero in the eq.
    then we can replace the 0 with log1 simple,
    now the eq becomes
    1+log1+ log2 + log3 + log4+ log5 + ......, which sir wrote in white board so there is actually no problem. Sir did it right....

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

      log 0 will come if we take k=n-1, which is impossible to solve...

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

      final ans bata, kya hai to

    • @himanshushah6746
      @himanshushah6746 4 หลายเดือนก่อน +2

      He did make the mistake you mentioned but the mistake lead him to add log1(an extra term which should not be added) to the equation. However, it made no difference since log1 is equal to 0 so its like adding an extra 0 to the answer.
      Please let me know if i am wrong

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

      @@himanshushah6746 wrong question * { 1 if n=0 }

    • @FITSOUL01
      @FITSOUL01 2 หลายเดือนก่อน +3

      Thanks bhai Mera sir phat gaya

  • @RiteshKumar-ud7bf
    @RiteshKumar-ud7bf 2 ปีที่แล้ว +555

    Sir, at 6:25 when you equate n-k with 1 then k will be n-1 not just 1. And then the whole equation will get changed after 6:57.

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

      Answer will be same with same mistake 😳

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

      Yess you are right

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

      I too got stuck there thinking it'll be 2 😂

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

      yes you are right but even if we write it that way we can still add 1 in multiplication within logn and answer will be same but yes it should be equal to n-1

    • @rahulyo.gaming
      @rahulyo.gaming 2 ปีที่แล้ว +3

      Yaa You Got It Bro 👍😉

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

    At 7:20 of your video....sir
    n-k=1
    n-1=k aayega...not n=k

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

      yeah same
      i was wondering i am the only on who thought that
      but still i am getting log 0 in equation which is not possible to solve
      **edit it will be start from log 2 to log n and time complexity will be same O(n log (n))

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

      T(0)=1 may be the Equation

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

      you are right

  • @pratapsingh-mv3gg
    @pratapsingh-mv3gg 2 ปีที่แล้ว +8

    Happy Teachers' Day Sir. Your explanation style is really eye catching which help us to beat any level of question from any level of concepts. Thank You So much for all of your guidance and support. 🙏

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

    LOTS OF THANK SIR, I WATCHED YOUR ALL(60) VIDEO OF DAA. I AM VERY GLAD TO SEE THIS. I AM VERY INSPIRED WITH YOUR VIDEO LECTURE AND DECIDE TO DO MCA COURSE. I WISH THAT YOU GUIDE ME. I ALSO WISH THAT YOU UPLOAD ALL VIDEO OF SYLLABUS OF MCA. YOUR EVERY VIDEO GIVE DEEP KNOWLEDGE AND BETTER THAN VIDEO PROVIDED BY UNIVERSITY.

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

    Happy Teacher's day sir may god increase your subscriber day by day. Your way of teaching helps me to clear my concepts also when i solve the question I remember your videos it just makes easy for me to do that. Thanku sir for all your dedication and hardwork.

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

    Happy teacher's day sir. Thank you so much to help us for gaining knowledge.

  • @ramijhasanshaik-4177
    @ramijhasanshaik-4177 4 หลายเดือนก่อน +5

    TIPS: Take the two conditions as n = 0; n >0; Rest will be fine.
    Hope it helps you, guys.
    Love you sir ❤

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

      Bro, you are saviour 🫡

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

    I don't know whether you are reading my comment or not, but wishing you Happy Teacher's Day Bhaiya. You are our Bhaiya as well as a teacher. Lots of love and respect for you, for your effort in providing us such a best courses.

  • @LearnwithRohit-od1hw
    @LearnwithRohit-od1hw 10 หลายเดือนก่อน +5

    dear sir here n-k=1 then k will be n-1 and whole equation and question will change at 6:30.

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

    Happy teacher's day 👏👏👏👏 love from Gujarat

  • @alt-f4gaming222
    @alt-f4gaming222 2 ปีที่แล้ว +6

    bhai ek hi dil h kitne bar jitoge......

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

    lots of love from Bangladesh.....keep up the good stuff

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

    thank you you made day .

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

    Sir you taking the value of n=k which is wrong you take it n=k+1 so we become n-k=1. How it is possible to obtain n=k from n-k=1.

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

    Thank You SO Much Sir

  • @AnjaliGupta-op1hr
    @AnjaliGupta-op1hr 2 ปีที่แล้ว +3

    Happy teacher's day sir✨♥️

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

    Thank you sir 😊

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

    Pls tell how n-k=1 statment is becomes n=k

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

      No,it is n - k = 0

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

      Approx value is taken as 1000 is approximately equals to 1001 . we cannot find the exact time taken by an algorithm to complete. And also in last we are neglecting constant for finding time complexity. So approx value is taken.

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

      Yes it's k=n+1

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

      @@ananya88agrawal answer mil Jai toh batana 🙂

    • @NavendrakumarBanjare
      @NavendrakumarBanjare ปีที่แล้ว +19

      @@ananya88agrawal k= n-1 😊

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

    Thanks sir 😊

  • @ManpreetKaur-in6gz
    @ManpreetKaur-in6gz 2 ปีที่แล้ว +1

    Happy teacher's day Sir... 🙏

  • @calisthenics-
    @calisthenics- 2 ปีที่แล้ว

    Happy teachers day to varun sir 🙏

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

    Happy Teacher's Day Sir 🙏❤😊

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

    great job

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

    Thanks sir

  • @atharvanimkar6577
    @atharvanimkar6577 4 หลายเดือนก่อน +2

    There is one mistake in given condition everyone should be corrct it....
    if n=0
    if n>0
    This are the correct condition given...👍🏼👍🏼

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

    sir u r great

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

    Happy teacher's day sir
    You are the best teacher for CSE students...you work so hard for us
    Thank you so much ☺️

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

    Thank you sir

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

    Happy teacher's day sir 🙏

  • @AshmitKumar-ip9tr
    @AshmitKumar-ip9tr 5 หลายเดือนก่อน +1

    If agr last tak ka part smjh nhi aaye then what to do please tell

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

    Happy Teacher's Day Sir.

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

    Sir there is a one minstake at 6.36 min of lac..
    Here u had taken a..
    n-k= 1:::::: and in the next step u had taken (n=k)
    Which is wrong...
    n=k+1 aata h

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

    Completed whole playlist today, thank you sir for your efforts, will donate a big amount soon.

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

      Can you please share your notes?😊

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

      @@cpwithtausif4866 I can share but I have done till lecture 17

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

      @@cpwithtausif4866 But I was wondering how are you getting these lectures, these are a mix of both hindi and english ?

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

      I will donate after I get placement 😂

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

      @@anugrahmasih6347 whats there to wonder lol, if you understand both hindi and english, its simple

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

    There's something wrong while solving the recurrence relation, when we have to eliminate T(n-k) to make it 1 you take the condition that n-k=1 so, it will become k=n-1 and if we substitute it in the equation it'll become T(1) and it'll be eliminated, you made n=k and it will make T(0) and how to satisfy this??

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

      It was a mistake. k will be equal to n-1 and it will make T(1). The reason why sir took it as 1 because according to him, he made correct relation between k and n. So, he just wrote 1 without checking.

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

    Happy Teacher's day sir ✨☺️

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

    Sir agar kisi question t(1) =1 wale conditions nhi mention h to kya hum apne man se maan ke solve kr skte hain?

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

    Happy Teacher's day Sir😍

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

    Happy Teachers day sir❤️

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

    Happy teacher's day sir

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

    Happy teacher's Day sir

  • @SAKSHISHARMA-ps3sz
    @SAKSHISHARMA-ps3sz 2 ปีที่แล้ว +1

    Computer science ka kuch pta hi nhi tha... Itna interest se pdhaya ki hr topic ka pta h ab apse pdhkr

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

      I haven't started studying yet, so can you please tell me does this channel has the complete course for GATE?

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

    Sir how n-k= 1 became K=n ? It must be n= 1+ k right?

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

    Confusion clear,
    n-k = 1,
    n = 1 + k
    k = n - 1
    Agar hm n-k = 1 put krke ans. Nikale to ans. Same hi ata hai.
    1 + log(n-k+1) + log(n-k+2)........ log(n-3) + log(n-2) + log(n-1) + logn
    aisa eq.ayega
    Aur isme *n-k* ko 1 se replace kr do..
    To ans. Log(n!) Aa jayega

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

    sir how to solve recurrence relation by tree method? plz upload video on that

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

    Happy Teacher's Day Sir :))

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

    Happy teacher's day sir ji

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

    tiem complexcity = 0(n^2 logn) , hai kya
    is it correct

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

    Happy teacher's day 💐💐💐💐💐💐💐💐💐💐💐💐💐💐💐💐

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

    🌸Happy Teacher's Day to u Sir 🌸...Thnk u for your all efforts for us...Ur video lectures help us a lot🙂 Thnk u so much sir for always being there to help in live sessions also 🙃
    We will always here to support u✌🏻

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

    Nice

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

    Sir apne n=k q lia usse to T(0) ho jara ,
    Apko to n-1 =k lena chahiye tha na , tb T(n-(n-1))=T(1)=1 hota . Please 🙏 clarify.

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

    KING

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

    yhn jo aapny n-k=1 lya hy so eq me wo bhi tw put krskty hy

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

    Sir u are super duper awesome. I really appreciate your effort and your style of teaching .Really JazakAllah🤍

  • @DhruvRana-ys4su
    @DhruvRana-ys4su 11 หลายเดือนก่อน +2

    It is wrong why n=k

  • @TheMotohead
    @TheMotohead 6 หลายเดือนก่อน +4

    I do think the complexity will be log n as the series goes like t(1), log (2), log(3), ……….. log(n)

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

      the number of log terms is not fixed, it will depend on n, that's why the complexity is not logn

  • @SAKSHISHARMA-ps3sz
    @SAKSHISHARMA-ps3sz 2 ปีที่แล้ว

    Sir apki kya tarif kre plzz ap hi btao...??? Happy teacher day.. Or bhgwan apko hmesha age se age success de.. Or apki family khush rhe

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

    how is n=k when n-1=k. k should be n-1 right?

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

    6:20 pe sir n-k= 1 hai to k=n kaise ho jayega please sir tell us

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

    Happy teacher day 🙏🙏

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

    If the value of n-k = 1 then how it is possible that the value of k = n?? It has to be k = n-1

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

    how it is possible if n-k =1
    then k=n
    how it is possible sir??

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

    n-k=1 then k=n-1?

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

    don't worry answer is right see explanation
    n-k=1
    k=n-1
    T(n)= 1+log(n-(k-1)) +log(n-(k-2)) +log(n-(k-3)) +log(n-(k-4))....................logn
    T(n)= 1 +log(n-(n-1-1)) +log(n-(n-1-2)) +log(n-(n-1-3))..................logn
    T(n) = 1 +log2 + log3+ log4+.........logn
    T(n)= 1+log(2*34*5*6*7*.......................*n)
    T(n)= 1+log(1*2*34*5*6*7*.......................*n)
    T(n)= 1+log(n!)
    T(n)= 1+log(n^n) (how it come see video 8.50)
    T(n)= 1+nlog(n)
    0(nlogn)

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

      if we taking log as a common then in bracket it should be 2+3+4+5+6.. isn't it

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

    This is easy 😎

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

    Happy teacher's day to our best teacher.may god bless u with all the happiness and peace in life 💐💐

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

    Sir please make video on class p and Np completeness .. please sir i am watching your video from my college starting period of time.

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

    sir, it can be done directly with a formula. ! anyway I love your teaching style. I learnt a lot from you. thanks for providing such contents

    • @S.A.98
      @S.A.98 2 ปีที่แล้ว

      Which formula ?

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

      @@S.A.98 if problem statement like T(n-1) fx then multiply n with fx.
      if 2(t-1) fx then 2 power n * fx or 3(t-1) fx then 3 power n multiply fx. or 2(t-1) then 2 power n. and so on...

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

      Pls isko sahe tara se explain kre not understanding

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

    Can anyone say that how I purchase gate smasher's paid course?

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

    Is this playlist completed

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

    If n-k =1
    So n =k-1 nai?

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

    I did it by using n-1 steps instead of k steps and i also got the same answer

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

    n-k=1
    So that K=n-1
    How can possible sir n=k

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

    After equating n and k, the term T(n-k) should yield zero, won't you agree? If so, then how come it becomes one? To make the term T(n-k) equal to T(1), shouldn't we put the value of k=n-1 so that when its substituted, it becomes: T(n-(n-1))=>T(n-n+1)=>T(1)

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

      yeah

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

      we put n-k=1 *** -k=-n+1 *** k=n-1. we have to substitute k=n-1 not n.

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

      It is easy to understand that sir made a mistake. This mistake can be ignored and the answer can be found by taking k=n-1 by our own. Simple.

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

    sir, i guess n-k = 1 will give k=n-1....

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

    can we take this steps n-1 instead of k?

  • @SUPERMAN-zu6rr
    @SUPERMAN-zu6rr 2 ปีที่แล้ว

    HAPPY TEACHERS DAY 🥺❤️

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

    (k) ki value galt nikali hai kya?

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

    Sir plz add videos for k map also in digital

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

    Plz anybody tell me the Answer...As sir took the value wrong at 6:23 as n-k=1 but acc to me...it's K=n-1..💁🏻‍♀️

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

    Question is wrong..... if n=0 & n>0 then n-k=0 => k=n

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

    Smasher bhaiya zindabad gate fod denge .......is baar lgta hai .

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

    i have taken n-k =1 and got the same answer .😊

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

      Haa in last 1 + n log n - log n and then
      n log n dominating so order will O(nlogn)

  • @S_Bhagat-h3q
    @S_Bhagat-h3q 2 ปีที่แล้ว

    happy teachers day

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

    Sir 6:25 ke baad ghanta nhi kuch samajh aaya...
    T(n-n) = T(1) kaise hua???
    n-k=1 => n=k kaise hua???

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

    Happy teacher day Sir! and at 6:25 n=k is wrong as you said n-k=1

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

    Sir in this at 7:50 if n-k=1 then k=n-1 ?
    Right or wrong

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

      Sorry At 2:25

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

      @@snehapandey3716 yess!! I was wondering the same! And in the end log 1 also won't come but answer will be same in the last....but vo k=n-1 hoga

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

    6:25 n-k= 1

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

    Can someone say that this recurrence expression is for which problem (matrix multiplication, knapsack , maximum sub-array, etc)?

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

    if possible teach us DIP AND CLOUD

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

    n-k=1 ,then k=n-1 but you write k= n

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

    completed

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

    I have a doubt, I think the method you are following is iteration method & subtitution uses mathematical induction.
    But I too find this method easy & I understood the methodology clearly. Thanks

    • @AshmitKumar-ip9tr
      @AshmitKumar-ip9tr 5 หลายเดือนก่อน

      If agr last tak ka part smjh nhi aaye then what to do please tell

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

    bhaiya esme n-k=1 jo h toh vo k=n kese hua

  • @124_rajpatel6
    @124_rajpatel6 ปีที่แล้ว

    Bro k=n kese Aya , n=k+1 ayega na??

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

    Happy Teacher's Day ❤

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

    how n = k ?? i don't understand anyone can clarify??

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

    Happy Teacher ''s day

  • @RajnishKumar-ev7wi
    @RajnishKumar-ev7wi 2 ปีที่แล้ว

    sir n=k how sir n-k=1