L-2.1: What is Recurrence Relation| How to Write Binary Search Recurrence Relation|How we Solve them

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

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

  • @dangerousn
    @dangerousn ปีที่แล้ว +69

    We are IT students and our Big problem is that our teachers Said "beta TH-cam sy lecture le lwna Tum IT student ho tumara tohhh 2sra ghur TH-cam hona chahiya "😅😅

    • @YourFather-lr3rz
      @YourFather-lr3rz 4 หลายเดือนก่อน +7

      Teachers ko bolo: "Aap fees bhi next sem se TH-cam se hi le lena, kyunki vo hamara second home hain... Agar TH-cam se hi sikhnaa thaa toh aapne kyaa kiya students ke liye, aapko fees kis cheez ki de..? "

    • @story.teller.hubzss
      @story.teller.hubzss 4 หลายเดือนก่อน +2

      Likhna Sikh le bhai phele

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

      Lagta nhi tu IT student hai 😅 likhna sikha le

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

      😂😂😂

    • @theonewhoaskedtheonewhocar9780
      @theonewhoaskedtheonewhocar9780 2 วันที่ผ่านมา

      @@hansketrathod1535 lodu tu khud to sikhle

  • @ChaitanyaBhargava-k5n
    @ChaitanyaBhargava-k5n 5 หลายเดือนก่อน +3

    00:02 Recurrence Relation is a function that calls itself multiple times.
    01:05 Searching for an element in a sorted array
    01:52 We are calculating the middle element of a problem N
    02:46 Searching takes a constant amount of time to find the median and check conditions
    03:45 Binary search algorithm divides the problem into two parts and navigates based on conditions
    04:42 Finding the middle element in a given range of numbers
    05:29 Dividing the problem into subproblems
    06:24 Recurrence relation of binary search can be solved using substitution method, master theorem, or recursion tree

  • @Archanasingh-to5hb
    @Archanasingh-to5hb 2 ปีที่แล้ว +8

    Sir I feel relaxed when I find your videos related to my topics❤️❤️ thx so much sir 🙏 god bless you

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

    Best DAA lectures ... Never thought that DAA could be so amazing to learn :D
    thank you so much :)

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

      Ab to tumhe NASA me job mil jayegi

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

    Great teacher.. I Have seen your 1000 of lectures.. recommended this channel to every student.. Stay blessed

  • @YashWankhede-r4m
    @YashWankhede-r4m 23 วันที่ผ่านมา +1

    done
    dhanyawad !

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

    Really good content. Very helpful . You make it very very easy to understand the algos. :) Stay healthy :) Always revisit your videos for better understanding.

  • @madhavsameer
    @madhavsameer 4 หลายเดือนก่อน +7

    Commenting first time on any video. You made me pass my exam...lot of thanks my brother 🥺❤️

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

      All the best

  • @AshutoshKumar-jv1uq
    @AshutoshKumar-jv1uq 3 ปีที่แล้ว

    sir app bahut accha explain krte ho👏👏👏👏👏

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

    V.good effort

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

    Sir .....if( i+j )happens to be odd....then how we will find out the mid....
    Will the sub arrays be of unequal size.....please do reply

    • @sumanjyoti6063
      @sumanjyoti6063 2 ชั่วโมงที่ผ่านมา

      You always take the floor value buddy, even if you write this in a program, let's say mid is an integer variable , if mid comes out to be 4.8 , the actual value stored in mid would be 4 and not 5, and since mid is integer it will typecast the decimal value, try doing it on an IDE

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

    Ye toh recursion hota tha....🙄🙄🙄
    Please explain....🙏🙏

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

    sir you look like parmish verma

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

    crystal clear explanation.....ty sir

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

    Amazing sir its difficult but u make it easy thank u so much

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

    Thank you very much sir🙏

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

    Your the best teacher....

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

    Sir the way of your teaching is mind blowing. I have a qns. Could u pls solve it?

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

    Thanks a lot sir for these lectures. they really make Data structures easy. I have been following your lectures from the last semester. They r very helpful!

  • @continnum_radhe-radhe
    @continnum_radhe-radhe ปีที่แล้ว +1

    ❤❤❤

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

    sir apko unacadmey ne abtak contact nahi kiy kya?

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

      2 saal se piche padde hai

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

      @@GateSmashers vahi to kitna quality content hai aapka ,bass abhi bich me hi chhod mat dena please

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

      @@GateSmashers 😀😀😆

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

    Thank you sir 😷 stay Healthy

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

    Bhai tu kia chiz ?? Kia knowledge hai tery pass humry teachers is tarh parhna start kar de to study bhut bhut easy ho jaye 😉

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

    Sir recurrence relation r^2-r+1=0 ye vala eqvison ka video ?

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

    Awesome sir🖤

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

    How to calculate number of clock cycles in computer organization subject (Control unit design) please explain this sir🙏

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

    Great one sir.....❤👌..merge sort,quick sort recurrence relation derivation ki video jaldi banado sir..plz...

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

    Sir plzzzzzz inclusion and exclusion principle ke video Bana dy

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

    Whenever College exams are going to approach everyone in my college is like watching ur videos lol

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

    sir agar value of j even ho then hum middle value kese select krenge

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

    Best teacher on You tube😊, you helping alot

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

    Hello Sir . Your Videos are genuinly very helpful for all categories of students. Thanks a lot.

  • @nitishkumar-kt1nb
    @nitishkumar-kt1nb 7 หลายเดือนก่อน

    🎯 Key Takeaways for quick navigation:
    Recurrence relation involves a function calling itself repeatedly.
    Binary Search Algorithm helps in understanding and writing recurrence relations.
    Binary Search works effectively on sorted arrays by dividing the problem into halves.
    Recurrence relation for Binary Search involves T(N/2) along with constant time operations.
    Methods to solve recurrence relations include substitution method, master theorem, and recursion tree.
    Made with HARPA AI

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

    Sir I learnt a lot from your lectures and hindhi too 😀

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

    Thank you so much sir.
    I am learning DDA in 2022 and is very helpful for me

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

    Sir kya vidio bnate haii aap
    Aapne set ,abeliean ,moloid, semi ,
    Sir aap manna padega
    Koi aisa studen hoga hi nahi jise samajh mein n aaya ho
    Thank you sir

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

    Sir i Am from pakistan
    Love your behavior and style of teaching

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

    if the elements in the array are even then how to find midpoint.

  • @NavjotSingh-nv4hy
    @NavjotSingh-nv4hy 3 หลายเดือนก่อน

    Still waiting for sir's reply HELLO SIR

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

    Best explaination ever sir!!! Thank you so much Sir
    Sir please please make a video on Strong Induction

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

    Best teacher 👍and thanku so much sir

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

    Is this playlist cover all topics completely ...?

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

      Partially completed..will complete soon

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

      @@GateSmashers sir plz complete all the gate playlist as soon as possible and again thank you sir for your super simplified and easy to understand contain 🙏🙏

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

    What if mid comes in decimal ?

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

      We take mid of type int so it never give decimal answer

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

      If your mid 2.5 round it to 2

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

    Nice explanation :)

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

    🙏🎂🎈👍❤️🇮🇳

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

    Best faculty I have seen ever......😊😊😊🤷🤷🤷....
    Sir u always clear every topics whatever u teach .... U teach with full enthusiasm😍..
    God bless u sir 🙏🙏🙏🙏🙏

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

    I think indexing starts with zero so i should be equal to zero ie i=0 and j=6

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

    sir - excellent =please give more solved examples

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

    Sir very aapki

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

    Very good lectures i feel so relax when saw your lectures sir

  • @KishanKumar-vt3cq
    @KishanKumar-vt3cq ปีที่แล้ว

    Bhai tumhare channel k bare me phle pta hota na.. amazon me hota mai
    Great job

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

    how can English speakers understand these videos? you should write in the title that the explanation is not in English, thanks.

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

      He kept captions

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

    Hello Sir! just wanted to know that if there is any difference between substitution method and iteration method for solving recurrence relation?
    Thanks

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

    please work on your pronounciation

  • @mental-block
    @mental-block 4 ปีที่แล้ว +1

    Hidden gems.

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

    if the array is unsorted how can we find the mid?

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

    Well-done sir👌

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

    wonderful as usual 👍👍

  • @Lucas-md8gg
    @Lucas-md8gg 5 หลายเดือนก่อน

    You're the best. The English CC helps a lot!

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

    please dont ask to like subscribe all time it is very disturbing and distracting for studious students

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

    sir plz upload lecture on catalan numbers nd catalan series

  • @AroojJanjuaa
    @AroojJanjuaa 28 วันที่ผ่านมา

    Sir Analyzing recursive algorithm b isi ko kahy ge?

    • @AroojJanjuaa
      @AroojJanjuaa 28 วันที่ผ่านมา

      Please anyone response me immediately

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

    This will run infinitely if Element Doesn't Exist

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

    Sir Lt Grade computer ka batch la rhe ho kya

  • @user-jd2fb3uf1o
    @user-jd2fb3uf1o 4 หลายเดือนก่อน

    Sr 0 to 6 hona chahiye array

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

    💯

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

    and what if the size of array is even?

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

    Sir all your videos superb because you explain each and every concept in the simplest way as much as possible so that students can remember it for lifetime. And in our country we need more teachers like you who actually wants the students to succeed in life

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

    watching from pakistan

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

    sir what is this method ? itration or subsitution ?

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

    Best Computer Science Teacher in the world.

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

    Thank you sir god bless you❤❤

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

    Love from Hailakandi, Assam

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

    Array index always starts form 0

  • @RajatKumar-jj8zr
    @RajatKumar-jj8zr 5 หลายเดือนก่อน

    Amazing lecture i ever seen!

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

    sir u been doing great work love u

  • @shivamsingh-dl4lv
    @shivamsingh-dl4lv 3 ปีที่แล้ว

    sir it's easy to understand daa thank you for motivating and helping me in study

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

    Sir notes chhaiye tha Daa ka 😢

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

    Good teacher ever

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

    ⭐⭐⭐⭐⭐

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

    Sir bht ach syllabus complete krwa rha ha ap thanks

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

    thnx:) 💌

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

    No forward substitution ?

  • @AR-eu5op
    @AR-eu5op 3 ปีที่แล้ว

    6:34 WHY ARE WE TAKING C?

  • @SIDDHANTRAAJ-q2h
    @SIDDHANTRAAJ-q2h 17 วันที่ผ่านมา

    16/09/24 :)

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

    Best teacher ever ✌️

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

    is this in gate 2022???????????????

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

    baited by english title 😔

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

    Video is useful

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

    Too good explanation

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

    Thank you sir

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

    Thank you sir....

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

    Best teacher

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

    Rekrance😂

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

    You are best teacher

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

    1:20

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

    It's very helpful 👍

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

    completed

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

    Gurujee shandar jabardast zindabad

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

    A function calls itself is known as Recurrence
    Is there anyone think about Bhupendra Yogi 😂