1.8.2 Asymptotic Notations - Big Oh - Omega - Theta #2

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 467

  • @thenoobateverything1403
    @thenoobateverything1403 Год назад +143

    I owe this man my cs degree. Greatest teacher of the generation

  • @rahulmathew8713
    @rahulmathew8713 5 лет назад +767

    Hello Sir, Please write a book on Algorithms with the topic you covered . Your simple way of explaining complex topics is must have reference for a professional and student. I sat an entire semester trying to understand concepts like Big O , until now no one properly explained how log came inside Big O, no one talked about Frequency count method and taking degree of the polynomial. Keep up the good work and we expect a really good book from you. Just do the same what you wrote on the board to a book as it is instead of bringing in unnecessary Maths symbols like other university professors. When you explain each and every step unlike other lazy Maths teachers who skip steps, makes you a really good teacher.

    • @at2031
      @at2031 5 лет назад +12

      @@abdul_bari yeeeeah. I agree with the guy. You explained the topic in such a simple way.

    • @simonedisalvatore6832
      @simonedisalvatore6832 3 года назад +4

      may i do that, i'll post it

    • @humblefool8564
      @humblefool8564 3 года назад +1

      @@simonedisalvatore6832 yas please

    • @abraralharbi6835
      @abraralharbi6835 3 года назад +2

      I completely agree with you

    • @samiranroyy1700
      @samiranroyy1700 2 года назад +2

      Ye ssir

  • @edwintan4784
    @edwintan4784 5 лет назад +150

    Sir, u r really the best professor i ever encounter! I think u should have more courses on Udemy! Hopefully on all areas of Computer Science! I think there is a serious lack of someone who is able to teach in a way that is simple to understand. Please be the one to fill in this gap and i believe the Computer Science community will be very happy :)

  • @MrKrabs-xf2tr
    @MrKrabs-xf2tr Год назад +15

    Post breakup and abdul is my guru now. You've done the world a great service sir, and I thank you with all I have for that.

  • @anikacharjee3932
    @anikacharjee3932 6 лет назад +70

    No dislike represents how good u teach us. Many many thanks from Bangladesh...

  • @enebz3746
    @enebz3746 Год назад +5

    Your videos are absolutely of finest quality. I have not encountered a teacher that convey information in such a simple, yet thorough matter as you do.

  • @AtifShafiinheritance
    @AtifShafiinheritance 5 лет назад +17

    scratching my head "how to get into competitive programming" and I find your videos!

  • @techlunacy9595
    @techlunacy9595 Год назад +7

    best explanation I have ever seen so far. little bit of correction log(1*1*1 up to n times will be 1 )
    so lower bound should be zero

  • @subhayukumarbala1680
    @subhayukumarbala1680 3 года назад +8

    Sir, I have tried to learn about Asymptotic notations for a long time now. But wasn't able to grasp the concept. Thanks to you, I can now understand these.❤️

  • @GoogleUser-nx3wp
    @GoogleUser-nx3wp 8 месяцев назад +2

    Bro is so humble its so comforting

  • @ferozuddinshaik119
    @ferozuddinshaik119 4 года назад +176

    I felt relaxed when he stops after saying something and looking at camera 😂😂

    • @zameerrizvi7762
      @zameerrizvi7762 4 года назад +5

      Need people like to smile while studying 😂🤓

    • @intuitivej9327
      @intuitivej9327 3 года назад +2

      Same here

    • @zameerrizvi7762
      @zameerrizvi7762 3 года назад

      @unknown in that way u can learn fast u dumb

    • @amank8950
      @amank8950 3 года назад

      @unknown bruhh, wtf are you even saying

    • @lullubi5957
      @lullubi5957 3 года назад

      😂😂😂

  • @trustkibou
    @trustkibou Год назад +8

    You are wonderful, Professor Bari. You are helping me SO much. I wish I had you worked at my Uni!

  • @mahjabinfiza9982
    @mahjabinfiza9982 24 дня назад

    07:52 such a awesome yet simple example! this one real life example literally made me understand the topic perfectly! i cannot thank you enough sir!

  • @mounikabandapu8684
    @mounikabandapu8684 3 года назад +17

    Now I don't regret for not listening to online classes!
    Thank you sir:)

  • @saifullahkhan6346
    @saifullahkhan6346 Месяц назад

    tomorrow are my mids, don't understand a damn thing what my professor taught in class, and here I am learning everything in 20 minutes, salute........ Love from Pakistan

  • @Raju-ii7tu
    @Raju-ii7tu 2 года назад +2

    I purchased udemy course by paying 89$ and didn't understand. Of after explanation this genius man, all concepts are cleard and it's became easy to code too. Thanks a lot sir. You'll always be remember by me♥

  • @simoncarter3541
    @simoncarter3541 3 года назад +56

    1:42 He can tell I'm impressed and he doesn't even know me

  • @luckyvishwakarma8163
    @luckyvishwakarma8163 3 года назад +8

    Sir , the way of your teaching is amazing, you explained complex concepts in an easy and interactive way. Thank you, so much Sir ✨

  • @vishalpanigrahi3149
    @vishalpanigrahi3149 3 года назад +3

    thank u sir...for making it so simple...i have a huge confusion on this topic but after watching ur video on assymptotic notation...i understand the whole concept..ur way of explaining is very simple..

  • @aryansinha1818
    @aryansinha1818 2 года назад +3

    *Sorry sir your videos are so intresting that I always forget to hit on the like button.* Thank you sir for all these content. You are a blessing for me.

  • @indiansoftwareengineer4899
    @indiansoftwareengineer4899 5 лет назад +25

    Sir, all lectures are of best quality.
    Thank you for your efforts and soon I am applying for First Job and I will update you soon my status because your videos really help a lot.

    • @jagadeeshmandala4097
      @jagadeeshmandala4097 4 года назад +1

      These videos helpful?

    • @brandonjoy6494
      @brandonjoy6494 2 года назад +1

      DId you get the job, Ganesh?

    • @atharvan2260
      @atharvan2260 2 года назад +2

      Did you get the job Ganesh! INDIA WANTS TO KNOW!!!

    • @vimalkumar281
      @vimalkumar281 Год назад +1

      why we put log 1 as 1 instead of 0

    • @lazycoder01
      @lazycoder01 12 дней назад

      @@vimalkumar281 it must've been a mistake that the teacher oversee

  • @utkarshraj3822
    @utkarshraj3822 5 лет назад +5

    Sir your video made my asymptotic notation concept very strong....thank you

  • @poonamsing1
    @poonamsing1 6 лет назад +4

    abdul bariji thank you so much. what a fantastic teacher you are. crisp and clear explanations.

  • @RajeshKumar28sep
    @RajeshKumar28sep 5 лет назад +4

    Again an excellent video. At 5:08 onward, I think there is a place for n! on that scale ( well depending on what that scale is) n^k < 2^n < n! inf thus the n^k < 2^n < n!

    • @animerank4907
      @animerank4907 3 года назад +2

      That's correct, I was confused when he said that we can't put factorial anywhere.

    • @tontacchi
      @tontacchi Год назад +2

      We can go even simpler. My Algorithms class just covered the fact that n! can be bounded to n^n. It can be shown that (n/2)^(n/2)

  • @srinivb1
    @srinivb1 6 лет назад +9

    Sir, your videos on Algorithm Analysis are simply amazing. Thank you so much for making such a wonderful videos, which are very useful.

  • @missourikage
    @missourikage 10 месяцев назад

    You're so much more efficient than my algorithms professor, thank you !

  • @safiullahparvezmemon8669
    @safiullahparvezmemon8669 4 года назад +3

    Asalaam alikum sir after a long time i find such video from which i understand asymptotic notation JazakAllah sir

  • @georgecantu856
    @georgecantu856 5 лет назад +2

    You just saved my grade in real variables. Please keep making more videos, you'll never know who you'll save

  • @Akshay-Raut
    @Akshay-Raut 4 года назад +4

    This is great sir. I am finally learning algorithms properly through your videos.

  • @subhrajyotidas2569
    @subhrajyotidas2569 3 года назад +1

    sir you are my favourite. YOU teach algorithms like cakewalk.

  • @subramaniyanvg6367
    @subramaniyanvg6367 4 года назад +2

    Today I finished this video. Well explained sir i tried graphing and I understood clearly but to understand more clealy when there is no theta bound I have to see how graph differs for different lower bounds with n factorial example. Hats off to you sir.

  • @subramaniyanvg6367
    @subramaniyanvg6367 2 года назад +3

    Sir also for n factorial we can take omega(n)

  • @siddharthverma4017
    @siddharthverma4017 6 лет назад +7

    I just increased the playback speed and your content was still understandable,that is sonething we don't see regularly keep up the good work sir

  • @asishraz6173
    @asishraz6173 4 года назад +4

    This is one of the great explanation on Asymptotic Notations. Thank you so much Sir.

  • @abrarchowdhury5687
    @abrarchowdhury5687 5 лет назад +4

    thank you for the series. I am planning to go on with the series till the end because its that good. However, i do have a suggestion on how this series can become even better.
    It would have been great if you provided some problems to solve after you finish teaching a certain topic. and then also provide solution to those problems so that we could check if we got it right. Incase we don't get it right, we can correct ourselves by looking at how you solve it.

  • @shashishekhar7649
    @shashishekhar7649 Месяц назад

    Your calm demeanour helps so much. The way you simplify everything and how do you always know the doubts that come to mind. I guess this is a sign of a great tutor. To know where the students might struggle and cover those things before they become a trouble. Hats off to you sir. I became your fan in the first few videos only. If only I knew about your videos earlier. But koi baat nahi sir "der aaye durust aaye". 🙂🙂 12th ke baad pehli baar wo wali excitement feel ho rahi hai. Main ruk nahi pa raha hun. Lekin saturate na ho jaun isiliye ruk ruk ke notes banate hue padh raha hun. Just like those beautiful old days. You made me remember how much I used to love mathematics. Thank you for existing sir. It's a blessing to know you.
    I have a doubt sir :
    For the functions "n!" and "log(n!)"; can I write the lower bound as "n" and "log(n)" respectively ?? I think this satisfies the inequality too.

    • @abdul_bari
      @abdul_bari  Месяц назад

      Lower bond is defined as 1 Only
      It is like a standard

  • @NOORK03
    @NOORK03 7 месяцев назад

    i honestly felt like giving up in my cs degree, and then you showed up on my page. I hope you know you made me feel hopeful!

  • @treasure1409
    @treasure1409 4 года назад +4

    Hello sir superb explanation .Way to go hope in future you make more videos hope your teaching will reach every corner of the world.
    No words to say

  • @uvnok
    @uvnok 3 года назад +2

    frequency count method was not able to understand but your videos a lot help . you are awesome sir and this video too

  • @sonukumarsaw66
    @sonukumarsaw66 6 лет назад +3

    Thanks sir...your videos really helped to clear the concept of time complexity and asymptomatic notation

  • @abhinashjena216
    @abhinashjena216 Год назад +2

    Sir literally you save me , a big thank you from my side. 🙏🙏🙏🙏🙏🙏

  • @rajeshdhadake3710
    @rajeshdhadake3710 3 года назад +1

    Sir By watching this lectures
    I just bow down to you

  • @002_priya9
    @002_priya9 5 лет назад +1

    Sir your way of teaching is very simple and good

  • @RuturajVartak
    @RuturajVartak 2 месяца назад +1

    a lot of these things are coming as magic and enthralling me

  • @adipratapsinghaps
    @adipratapsinghaps 3 года назад +4

    In coding interviews, they expect you only to analyse the O() condition. The reason being they themselves do not know how to analyse the other two, secondly it is not always possible to come up with a theta. But the prior reason is the most prevalant. I am watching your videos instead of reading CLRS.

  • @xxxhomiexxx5
    @xxxhomiexxx5 5 лет назад +15

    Absolutely incredible, thank you so much

  • @adityajoshi9207
    @adityajoshi9207 6 лет назад +5

    You are very good teacher sir. Thank u for this algorithms course. I request you to keep your courses free as this one.

  • @kanchankumar5340
    @kanchankumar5340 4 года назад +2

    Thanks a lot sir. I understood this concept very well. You are a good teacher.

  • @farhamun6511
    @farhamun6511 6 лет назад +18

    Sir, do you have tutorials for any other course? I want to know because, the way you explain any topic is very clear.

  • @warid49
    @warid49 6 лет назад +49

    Very well explained, Thanyou so much from USA.
    PS: My professor sucks , doesnt explain anything at all .

  • @emilyhuang193
    @emilyhuang193 4 года назад +3

    Thank you Sir. I can't believe you made it so easy to understand.

  • @amitkumarkit2
    @amitkumarkit2 5 лет назад +1

    ultimate style of teaching sirji.a big thanks to you.

  • @idilsaglam1278
    @idilsaglam1278 2 года назад +1

    You're the best teacher! Thanks for this video it helped me a lot !!

  • @JimmyBob708
    @JimmyBob708 Год назад +1

    5:10 - but you can same the same thing for n^2 and 2^n. Because if you use any number below 3, n^2 will be greater than 2^n. So it all depends on the value of n...

  • @asfiaoishy6152
    @asfiaoishy6152 3 года назад

    sir thank you so much. You made my concepts so clear. Tomorrow I have an exam and you save me. May you have everything in your life you want. Bless you

  • @Abir_Hasan_Onowy
    @Abir_Hasan_Onowy 3 года назад +1

    I just love your style of explaining 😍

  • @rishitshah3908
    @rishitshah3908 5 лет назад +11

    What I don't understand is why is everything converted to n on the right for upper bound and 1 to the left for lower bound (4:22). Is there a specific reason we do that? For example, what if for n! i did something like n!/2< n! < 10n! just like we did in (n^2)logn +n at 2:48?. Now I have n! on both sides so can I express n! as a tight bound? If not, why?
    By the way amazing content!!. very helpful and concise. Very easy to understand.

    • @sb_infi
      @sb_infi 2 года назад

      Bro did u find ur answer?? If yes then what is the reason??

    • @sb_infi
      @sb_infi 2 года назад

      I think it is not in the "class" sir talked-about

  • @AdityaSharma-rq5jt
    @AdityaSharma-rq5jt 2 месяца назад +1

    Just creamy and smooth as we want... ❤ Absolute treasure

  • @bshark977
    @bshark977 3 года назад

    this man da goat he carryin all of us through college

  • @giovangonzales6862
    @giovangonzales6862 Год назад +2

    Life saver! This was a great instruction on the topic!! Thank you!

  • @amirafiri9037
    @amirafiri9037 3 года назад +2

    Thank you professor. These are some spectacular explanations.

  • @mockingbird3809
    @mockingbird3809 4 года назад +2

    Best video on youtube. Thank you so much for making this amazing video!

  • @RaniLink
    @RaniLink 4 года назад +3

    Hello sir,
    I believe that you can say that lower bound on log(n!) is nlog(n) also, as such:
    log(n!) = log(1)+ log(2) + ... + log([n/2]) + ... + log(n) > log([n/2] )+ log([n/2]+1)+ ... + log(n) > (n/2)log([n/2] )
    correct me if I'm wrong, but that means that there is a tight bound for log(n!).
    thank you for your lectures! you are an amazing teacher!

    • @mahaveerbana2031
      @mahaveerbana2031 2 года назад

      Dono taraf n ki value same rakhega na ek jagah n/2 and ek jagah n kese chalega?

    • @mahaveerbana2031
      @mahaveerbana2031 2 года назад

      Nhi to sabhi ke thita oh ban jayega 😅

    • @randomrock3439
      @randomrock3439 2 года назад

      You are right, that's the lower bound not the tight bound

  • @ahmadkhan9509
    @ahmadkhan9509 6 лет назад +3

    Wow sir These lectures are very simple and easy to understand
    I wish our teachers taught us in the same manner
    Thank you so much and I appreciate you for what you are doing
    These lectures helped me a lot

  • @poojashiraguppi5859
    @poojashiraguppi5859 4 года назад +2

    Thank you sir ....U are easy way to understand to us ....Like dis type of related videos will upload more sir

  • @pabitrakb5291
    @pabitrakb5291 2 года назад +2

    Cristal clear concept
    Thank you sir 🙏

  • @shivambansal3560
    @shivambansal3560 5 лет назад +23

    Sir please make a course on Competitive Programming on udemy.

  • @mikedelta658
    @mikedelta658 Год назад +1

    How amazing your explanations are!!!

  • @aouerfelli
    @aouerfelli 8 месяцев назад

    You can say that for every natural number k, you have n! = Omega(n^k) so Theta(n!) sits before Theta(n^n) and after all the Theta(n^k) for k all.
    Now Theta(n!) can be a reference Theta itself. But if you want an equivalence using powers then Striling's formula gives you that n! is Theta(sqrt(n)(n/e)^n) or Theta(n^(n+0.5)/exp(n)).
    Also, log(n!) is Theta(n log(n)). You can prove that once again using Stirling's formula.

  • @SophieZhu-h7u
    @SophieZhu-h7u 27 дней назад

    Professor you saved my life.

  • @mohsinak5317
    @mohsinak5317 6 лет назад +1

    Great, clear and simple explanation. Big thanks.

  • @kungayounten6346
    @kungayounten6346 3 года назад +1

    Thank you, sir your explanation is very clear and on to point . I'am very excited to learn data structures from your Udemy course.

  • @hemantbhangale9505
    @hemantbhangale9505 4 года назад +1

    Excellent progression and crystal clear content. Thanks!

  • @muhammedmusthafavc1405
    @muhammedmusthafavc1405 6 лет назад +1

    you are one of my best teacher

  • @qfjqwfaf5693
    @qfjqwfaf5693 8 месяцев назад

    THANK YOU ABDUL SIR, YOU'VE SAVED MY LIFE

  • @sohailshah1574
    @sohailshah1574 Год назад +1

    Thank you so much sir....
    I will invite you in my graduation ceremony

  • @sumandas201
    @sumandas201 4 года назад

    the video is literally awesome ..... and the example of mobile phone.....

  • @vakhariyajay2224
    @vakhariyajay2224 2 года назад +2

    Thank you very much. You are a genius. 👍👍🔝🔝👌👌🙏🙏

  • @shruthiraj5345
    @shruthiraj5345 5 месяцев назад

    The best ever explanation 👏

  • @narendragangwani6574
    @narendragangwani6574 2 года назад +3

    In case of log n! , we can write it as log (1 x 2 x 3 ..... x n) = log (1) + log (2) + ..... +log(n)
    So shouldn't the lower bound be Omega (log (n)) ?

    • @mrjava18
      @mrjava18 2 года назад

      for lower bound we take everything as 1, i.e,
      log (1 x 2 x 3 ..... x n) = log (1) + log (2) + ..... +log(n) becomes
      log (1 x 1 x 1 ..... x 1) = log (1) + log (1) + ..... +log(1) = n times log(1) = n times 0 = 0
      So, he took 0 as 1 because 0 isn't present on the line(lowest value is 1)
      So, your answer is also correct but not useful.

  • @akrahdan
    @akrahdan 3 года назад +2

    This man is so good. Wow!

  • @AchalleCollins
    @AchalleCollins 9 месяцев назад

    Thank you sir for making me understand this,I faced difficulties here

  • @hematnorenore
    @hematnorenore 11 месяцев назад

    Thank you I learn lots from your learnings❤

  • @sheelajawni3290
    @sheelajawni3290 5 лет назад +1

    hello superb teaching. u r helping many students that's really great without expecting anything. god bless u sir

  • @anamulhoque6486
    @anamulhoque6486 5 лет назад +1

    Sir you are really good teacher

  • @nehaafreen4941
    @nehaafreen4941 6 лет назад +2

    Thank u for uploading this video ....this was very much helpful

  • @tusharmanikantta4102
    @tusharmanikantta4102 10 месяцев назад

    sir i am jagruth friiend , we both listened to your classes now we are class toppers thank you for teaching us.

  • @ntin5236
    @ntin5236 Год назад +3

    In asymptotic notations 1, he said that n, log n, n^2, 2^n, n^k, n!, and n^n are part of the upper bound, and doing Omega or Theta of any of these aside from n is incorrect. But here, he does theta(n^2). Why is that?

  • @NeerajSharma-nb5oj
    @NeerajSharma-nb5oj 5 лет назад +2

    You are the best, you saved me. Thank you So much.

  • @yadwindersingh9722
    @yadwindersingh9722 6 лет назад +2

    7:04 . he is very very helping /thank you sir

  • @InvinciRD
    @InvinciRD 11 месяцев назад

    ❤ Very Helpful. Keep up the good word Sir.

  • @pcgamermofo
    @pcgamermofo 6 лет назад +2

    Thank you so much for uploading these, you teach very well!!!

  • @dinushachathuranga7657
    @dinushachathuranga7657 Год назад +1

    Excellent content as other videos. Thanks a lot sir.❤❤

  • @keshavsinghthakur3126
    @keshavsinghthakur3126 4 года назад +2

    Great Sir, do you have any data structure tutorial? please let me know

  • @Zinab8850
    @Zinab8850 2 года назад

    thank you so much❤❤, I was struggling to know the difference

  • @Zuessbolt
    @Zuessbolt 4 года назад +1

    Sir you are blessing to us !!

  • @warid49
    @warid49 6 лет назад +2

    I wish you have a video on proving by Limites.

  • @saravananm2280
    @saravananm2280 5 лет назад +1

    very neatly explained 👌👌

  • @ayan1354
    @ayan1354 4 года назад +6

    Sir, in the examples why we are not taking omega(n) instead of omega(1) ?

  • @ayushmishra9638
    @ayushmishra9638 5 лет назад +1

    great lectures sir hats off