Lecture 11:Time & Space Complexity || How to avoid Time Limit Exceeded [TLE]

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • In this Video, we are going to learn about 2 important concepts i.e. Time Complexity & Space Complexity.
    Its going to be a short n Interesting one, Do watch it full.
    There is a lot to learn, Keep in mind “ Mnn boot karega k chor yrr apne se nahi yoga ya maza nahi para, Just ask 1 question “ Why I started ? “
    Coding Ninjas: bit.ly/3cfdKTe
    Visit Codestudio: bit.ly/3lrUGWN
    Discord Server Link: / discord
    Course Flow: whimsical.com/dsa-4-placement...
    Homework: Added in Video already
    Notes Link: drive.google.com/file/d/1fNYv...
    Code Links: github.com/loveBabbar/CodeHel...
    Telegram Group Link: Love Babbar CODE HELP
    telegram.me/lovebabbercodehelp
    Do provide you feedback in the comments, we are going to make it best collectively.
    Connect with me here:
    Instagram: / lovebabbar1
    Twitter: / lovebabbar3
    Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used.
    Timestamps:
    00:00 - Introduction
    01:19 - What is Time Complexity ?
    02:36 - Why Time Complexity ?
    03:50 - Promotion
    04:53 - Example
    06:12 - Complexity Notations
    08:25 - Big O Notation
    11:10 - Solving for Time Complexity [Problems]
    20:34 - How to Avoid TLE ?
    23:46 - Space Complexity
    24:06 - Solving for Space Complexity [Problems]
    #DSABusted #LoveBabbar

Komentáře • 1,6K

  • @sudershansingh2839
    @sudershansingh2839 Před 2 lety +140

    I struggled an entire semester with this topic and you cleared this in half hour. Pretty nice!

  • @rishabh5573
    @rishabh5573 Před 2 lety +417

    Bro No problem with 1 Hour+ lecture!!

  • @sdeepthinayak2482
    @sdeepthinayak2482 Před 2 lety +41

    I'm a beginner and when I was just looking into coding platforms, I was always wondering why those constraints are given for a problem. Thank you for making this playlist!

  • @aakashsharma1643
    @aakashsharma1643 Před rokem +21

    I have been trying to learn with various teachers about space time complexity, nobody made it as simple as this man did!! You are doing great job sir

  • @narendrarokkam5367
    @narendrarokkam5367 Před 2 lety +478

    Tqq bhaiya iam from a rural area I don't have any internet sources and belongs to below middle class family ....
    And tier 3 College also .....
    Iam downloading your videos when you are uploading and watching in home .... your content is great ☺️☺️

    • @utkarshsingh6778
      @utkarshsingh6778 Před 2 lety +15

      brother i am also middle class family i am also tier 3 college

    • @AamirKhan-lq6jx
      @AamirKhan-lq6jx Před 2 lety +45

      I wish ur next generation will never say these to anyone brother ... Hard work grind urself and u will do which u dreamed off....

    • @todayscreator8662
      @todayscreator8662 Před 2 lety +14

      Bhai m general category ka greeb hu... Tabhi btech college hi nhi liya .. aur jee toh aukaat se bahar thi

    • @channelname9332
      @channelname9332 Před 2 lety +12

      @@utkarshsingh6778 i am from tier [-1] college

    • @rameshmalhotra9525
      @rameshmalhotra9525 Před 2 lety

      czcams.com/video/tAQIKe0UGH4/video.html

  • @RajatAswani
    @RajatAswani Před rokem +24

    Sitting on footpath (had to go out for some reasons) and solving Big O notation problems 😂
    Completed on 16th Jan. 2023 ( 6:25p.m.)
    Thanks for your efforts Babbar bhaiya 🙏

  • @omnikharge5240
    @omnikharge5240 Před 2 lety +3

    puri video dekhi..aur jo aap ekdm choti si choti cheez ko granted naaa lekar use ekdm highlight karke samjhaate ho wo bahut accha hai..sabko smjh aaega

  • @techzplay6836
    @techzplay6836 Před rokem +4

    i think this is most well structured course and better than many paid courses.. love bhai did a great job,for all of us

  • @satvikgs5855
    @satvikgs5855 Před 2 lety +250

    I had never heard of 10^8 operation rule..Thanks a lot for explaining! Awesomee DSA course!!🙌

  • @vishakhaborkar6336
    @vishakhaborkar6336 Před 2 lety +18

    you are the one of the best teacher that i have ever been seen , you are the god gift for the engineers

  • @user-vq1jm2vx4v
    @user-vq1jm2vx4v Před 10 měsíci +1

    First time I have seen Time Complexity in a very simple way, It is looking so easy. Thanks for the great content.

  • @rugvedagasti6258
    @rugvedagasti6258 Před 2 lety +5

    Completed this video in 30 mins and feeling confident in time and space complexity .

  • @visheshkaran7083
    @visheshkaran7083 Před 2 lety +10

    Kabhi kabhi lagta hai ki yrr kya dekhu mujhse nai ho payega, par bhaiya apki commitment dekhke apne aap motivation aa jati hai thank you

  • @suvigyabasnotra7378
    @suvigyabasnotra7378 Před 2 lety +6

    Wow! Can't believe how 'to the point' this video was on how to understand time and space complexity precisely!
    Exactly the things needed to learn and memorize the concepts. Now approaching problems where time and space complexities need to be thought out, wouldn't bring out the fear in us. Gaga over the second half!

  • @anushkasingh6814
    @anushkasingh6814 Před rokem +1

    Thank you so much for delivering this GREAT content in the most lucid and understandable form. I have never felt so enthusiastic about any other course but this. I think I can also code now!

  • @devanshusahoo
    @devanshusahoo Před 2 lety +2

    Thank You for your awesome videos. You have truly made me understand time and space complexity in depth and that too just in a short time span of 30 mins.
    Your videos are truly great!!!

  • @tradewithdj231
    @tradewithdj231 Před 2 lety +14

    Bhaiya please don't stop this series many hopes relate with this videos

  • @saurabh3244
    @saurabh3244 Před 2 lety +3

    I always had a problem in constraints to thing but now bcz of this lecture I know it... nd its a very easy concept...thank you bhaiya for this course ♥️

  • @shaikhanis1532
    @shaikhanis1532 Před rokem +1

    no one can explain likes you this is fastest and very easy to understand all the basics of time and space complexity...

  • @aviral1430
    @aviral1430 Před 2 lety

    watched every minute of this vid (the best dsa course I'd come across in past 6 semesters) ..............thanks bhai

  • @techprogrammer4158
    @techprogrammer4158 Před 2 lety +9

    Babbar bhai Sachi batau kya first time watching programming videos for more than 20 min without getting bored, kya magic karraha he yaar🔥

  • @mdnazisharman778
    @mdnazisharman778 Před 2 lety +11

    even its 2hr lecture from you, it is worthy to invest time

  • @amanlajpal
    @amanlajpal Před 9 měsíci +2

    I had never heard of the 10^8 operation rule. Thanks a lot for explaining! Awesome DSA course!!

  • @aspiringcoder6952
    @aspiringcoder6952 Před rokem +2

    Glad I took your DSA Supreme course. I'm weak in Maths but Love bhaiya, you explained it in a simple way like Makkhan (lol). Previously I was attending JAVA + DSA course by PW and got stuck in Time complexity Lecture, it was totally a bouncer for me. Eagerly waiting for your Supreme batch to start.

  • @govindsuryavanshi6653
    @govindsuryavanshi6653 Před 8 měsíci +14

    First I have completed all DSA series and now conclude this is Greatest ever DSA series to exist on youtube or paid courses. Your contribution will be remembered. You're God of DSA for us🙇‍♂

  • @codingtrickswithvinayak3035

    It's really helps me to understand the time and space complexity, thank you for the amazing content🤗

  • @rahuljain224
    @rahuljain224 Před rokem +2

    I learnt time complexity from many videos on you tube but the best explanation of time and space complexity i got in this video
    Thanks for this amazing DSA course bhaiya 🥰🥰🥰🥰

  • @pritishsathe
    @pritishsathe Před rokem +1

    Best video on Time and Space complexity. Cannot thank you enough for this amazing playlist.

  • @JamesHalpert8555
    @JamesHalpert8555 Před 2 lety +7

    waiting for the detailed video on time and space complexity. 🔥🔥

  • @Sandeepyadav2k2
    @Sandeepyadav2k2 Před 2 lety +6

    Bhaiya apke jaisa DSA pure youtube par nhi hai....thank u so much bhaiya.❣️
    Timing..1 hour is best time duration for videos. please try to cover 1 hour 😄 ....

  • @Mohd.Raza-Shaikh
    @Mohd.Raza-Shaikh Před 10 měsíci +2

    han bhayya ye 11 videos me sab se choti thi, but maza bahut aya hai TC k sare doubts clear ho gae. Thanks a lot sir ji 😊😊

  • @mdwaqar7401
    @mdwaqar7401 Před 9 měsíci

    Another Awesome Video. I never thought of the Constraints are so important and can give us a hint to use which type of Algorithms WOWOWOW. Loved this video as well. Thanks!!
    Lecture 11 complete - 138 more to go.

  • @ranshuljayant5240
    @ranshuljayant5240 Před 10 měsíci +14

    Normally I don't comment on any videos but your lectures are so helpful and efficient that it force me to comment and praise you for your lecture. I am very glad to learn dsa from you ❤thanku ❤🎉

    • @umang_29
      @umang_29 Před 7 měsíci

      bro do u hv hand written notes?

  • @AbhishekGupta-nx6ic
    @AbhishekGupta-nx6ic Před 2 lety +63

    Bhaiya thier is no problem in 1 hour lecture, infact it is more impactful, the person who are genuinely want to study and have time, they would found 1 hours lecture much more beneficial, because concept can be cover in much more details in all different ways, and more problems solving, approach building can be made🤗 i hope you continue with 1 hour lecture 🙂but thank you so much for your efforts, it is our pleasure that we are studying from you🙂🤗 #dsabusted

  • @Yuvraj-Singh577
    @Yuvraj-Singh577 Před 11 měsíci +2

    I don't know time complexity before this video but now i'm sure i can explain it to my friends . Thank u bhaiya💕

  • @yuvraj_bhati
    @yuvraj_bhati Před měsícem

    ab tak ka one of the best lecture from past 9 lectures. thanks

  • @utkarshsingh6778
    @utkarshsingh6778 Před 2 lety +53

    Big brother no problem in 1 hours + lectures and now I am able to solve the questions it's late to start because i am in final year of b.tech student so that's why but I would like to thank u for giving me the free resource of dsa and as well as upcomming another topics lectures always support u big brother and respect to u always❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️🙏🙏

  • @neerajchaubey1518
    @neerajchaubey1518 Před 2 lety +3

    Awesome series continuinggg❤❤

  • @taniyasharma2713
    @taniyasharma2713 Před 2 lety

    Never find complexity so easy ! Thnak you so much ❤

  • @zeshanghafoor6046
    @zeshanghafoor6046 Před rokem +1

    Beautiful, want to pay my regards as the first time in my career I understand the Time + Space complexity in a true sense ♥

  • @rohitprajapati1253
    @rohitprajapati1253 Před 2 lety +5

    Amazing lecture..

  • @nimadorjeelama3298
    @nimadorjeelama3298 Před rokem +18

    After 2 years I realized that space means memory .Very good video .

  • @halloshashankduttt
    @halloshashankduttt Před 10 měsíci

    Well, I'm from Non-CS / IT background. And I'm learning programming Time & Space Complexity is the top in which I struggle a lot. But thanks to Babbar who cleared my concepts of DSA very well explained. thanks, and appreciate it Babbar.

  • @christiannavarro7767
    @christiannavarro7767 Před rokem +1

    Awesome video bhaiya 🎉🎉
    Never learnt web development with so much ease !
    Thanks , and keep up the good work 😊

  • @carver0019
    @carver0019 Před 2 lety +3

    💕💕thanks i will complete whole playlist even if it will have 100 videos...

  • @rakeshjoshi29
    @rakeshjoshi29 Před 3 měsíci +4

    Space Complexity is referred to only Auxiliary Space.

  • @premparkash80
    @premparkash80 Před rokem

    I love your content , it was pretty clear and i have learnt so much from your course.
    Thank you

  • @hiphop861
    @hiphop861 Před 6 měsíci

    I personally want to thank you from the bottom of my heart. Thank you so much

  • @nerd6134
    @nerd6134 Před 2 lety +4

    Bhaiya I’m loving it, though I watch the CP one :)
    Keep making CP problems video too. I’ve shared this playlist with ma buddies who are noobies & they are learning a lot

  • @kushalhedaoo9341
    @kushalhedaoo9341 Před 2 lety +25

    Very nice and ig effective series pls don't leave it from between ,complete this awesome series 👏 😀 👍

  • @deepakyadavYT
    @deepakyadavYT Před 11 měsíci

    Bro. I watched the full video. Thanks man for all the efforts you've made to create this course!

  • @iqranaqvi2888
    @iqranaqvi2888 Před 2 lety +1

    I really appreciate your efforts sir. u ARE THE BEST tutor I have ever seen

  • @vedprakashvishwakarma2645

    started with 1 lecture i.e lecture 11 today. Thanks for your kind support for us.
    Itna badhiya content 🤩

  • @100rbh7
    @100rbh7 Před 2 lety +4

    honestly saying i am not watching any youtube tutorial videos that greater than 20-25 minutes , but maine ye video puri dekhi , bhaiya jo apne desi language me jo concept clear kiya TC and SC ka maja hi aa gaya and very excited for next video .Love form Pune ❤️

  • @bidiptasaikia6758
    @bidiptasaikia6758 Před 2 lety +1

    In have completed the 30 mins full video 😍. It was perfect I got to learn everything in the video. Thankyou Bhaiya. 😍

  • @basictodynamic6590
    @basictodynamic6590 Před 2 lety +1

    best video till date, thank you for the great explanation!

  • @ishu.9485
    @ishu.9485 Před 2 lety +8

    bhaiya 1hr+ lectures are better than short ones. Please continue with them🙏🏻🙏🏻🙏🏻🙏🏻❤️❤️

  • @devanshsk7222
    @devanshsk7222 Před 2 lety +12

    Honestly Half hour lectures are good as we can have a much needed break
    and come back to next lecture fully refreshed.
    also 1 hour lectures are very good

  • @mayankgarg9877
    @mayankgarg9877 Před měsícem +1

    bhaiyaa aisa samjhaya hain kii ab nahi bhulane wali hain complexity

  • @sohail.unfiltered
    @sohail.unfiltered Před rokem

    Babbar bhai I am so happy
    Thank you so much ❤
    Your good lectures and my sincere practice is making me better day by day in solving dsa problems.

  • @arpitrajput6424
    @arpitrajput6424 Před 2 lety +4

    1 hour+ video is better but alternative days👍❤️

  • @rajatbhatkulkar3275
    @rajatbhatkulkar3275 Před 2 lety

    Thank you Love Bhaiya . Due to my current Job and some family reason I'm lagging behind, but I'm watching you are all video till end without skipping and yes "Maja AAA RAHA HAI ....!"

  • @minalraj8839
    @minalraj8839 Před 2 lety

    simple, short and crisp explanation for last minute preparations and revisions ..

  • @sabhrant7309
    @sabhrant7309 Před rokem

    Really sir your teaching skill is awesome and also u take right decision to choose your path in education......Thanks for providing me free DSA series with full of energy and also good example.......

  • @suchipravasahoo4106
    @suchipravasahoo4106 Před 2 lety +1

    Thank you its so much valuable... Thank you sir after this video i have gain more knowledge based on time complexity. Before this video i just confuse about the time complexity.

  • @rahulsil3827
    @rahulsil3827 Před 2 lety

    Loved the lecture on time and space complexity ❤️

  • @uttam6227
    @uttam6227 Před rokem

    thanks for the course, i am a fresher in coding hence course is very understandable and yet very thorough, thank you for making it so.

  • @amgothulokesh9944
    @amgothulokesh9944 Před rokem

    you are the best teacher , you simplify the things for us which we feel very comfortable to learn thankyou bhayya for making this great course

  • @harshya92
    @harshya92 Před 2 dny

    Very Usefull and understandable in very few minutes❤️

  • @artcraftwithnitika7312

    Yes, great sir, really something more understand on concept about time complexity..... specially basics

  • @pallaviwadekar7337
    @pallaviwadekar7337 Před 2 lety

    Thanks , really helpful video. Now I understood what Time and Space complexity is!

  • @thisisyash15
    @thisisyash15 Před 4 měsíci

    Every concept is absolutely crystal clear❤

  • @MPInsighttt
    @MPInsighttt Před 10 měsíci

    Best video of time nd space complexity on the entire CZcams

  • @aryan3520
    @aryan3520 Před 9 měsíci

    wonderfully explained would recommend it to every CS student who is about to start DSA

  • @harshsharma7505
    @harshsharma7505 Před 2 lety

    just finished this video and cleared all my confusions

  • @karanchopra3636
    @karanchopra3636 Před rokem +1

    Great Lecture. The way you described it was easy to comprehend.

  • @satyapriyobiswas7900
    @satyapriyobiswas7900 Před 2 lety

    First time learned time and space complexity and you explained so well 👏👏👏❤️

  • @muhammadsuleman8936
    @muhammadsuleman8936 Před rokem

    Watched completely and was very helpful. JAZAKALLAH!

  • @aasthamittal7364
    @aasthamittal7364 Před rokem

    mujhe lagta tha ki ma kabhi time and space complexity topic nhi kr paungi pr jese apne padhaya to esa laga h kya ismein ik dam se samjh mein agya thank you bhaiyaa. may god bless you with a good and healthy life ahead. 👏

  • @dharmik5442
    @dharmik5442 Před 2 lety

    Your content is great bhaiya. It really helped me to understand the time and space complexity program easily. Thank you so much.

  • @nitubhai786
    @nitubhai786 Před rokem +1

    Bhaiya ,Thanks from core of my
    heart

  • @trishitamukherjee1612

    Really the concept of time and space complexity is completely clear❤

  • @ashokdurunde1814
    @ashokdurunde1814 Před rokem +1

    Just too good👌. Thanks sir for all the efforts.

  • @getWhatYouExcept
    @getWhatYouExcept Před 6 měsíci

    brother you are so great. i am so glad to have your lecture

  • @funlearning5989
    @funlearning5989 Před 2 měsíci +1

    video completed.... consistency is power...lets see the magic

  • @rrrrrrr124
    @rrrrrrr124 Před 8 měsíci

    क्या शानदार समझाई हैं दिल खुश हो गया यार , अति सुन्दर ।

  • @gauravS_07
    @gauravS_07 Před měsícem

    Thanks a lot Bhaiya 💙
    Always heard of time and space complexity, now understood it.

  • @hannanhub1717
    @hannanhub1717 Před 3 měsíci

    thanks first time i understood so much about time and space complexity

  • @pushankarmakar1783
    @pushankarmakar1783 Před rokem

    completed the video. thankyou so much for the course!

  • @sushilsahu5719
    @sushilsahu5719 Před rokem

    I find here exact I need 😊
    Thanks for your effort 🤗

  • @jawadsher7666
    @jawadsher7666 Před 7 dny

    Thank you for in depth explination.

  • @risavkumarjha6899
    @risavkumarjha6899 Před rokem +1

    Incredible bhaiya sab clear.

  • @kp6527
    @kp6527 Před rokem

    really grateful for the playlist!

  • @shriyansh_g3756
    @shriyansh_g3756 Před rokem +1

    Awsome simplicity in your teaching style...................thank you for the great content😍😍

  • @ImranKhan-br5dv
    @ImranKhan-br5dv Před 7 měsíci

    this video is clear my whole year doubts and use case also this chaptor.

  • @vinodashok1793
    @vinodashok1793 Před rokem

    Thank you.. Now I've good understanding of time and space complexities

  • @mdinzamamulhaque6914
    @mdinzamamulhaque6914 Před rokem

    Thank you bhaiya. That was the easiest explanation of time complexity I ever had seen. Love from Bangladesh ❤❤❤

  • @_Vikas
    @_Vikas Před 2 lety

    Babbar bhaiya excellent video poore youtube pr kisi aaisa nhi samjhaya hai

  • @5_Minute.Lectures
    @5_Minute.Lectures Před rokem

    Bhaiyya I live at a place where I am unable to get courses offline. Your channel helps me a lot to clear my concepts as I am preparing for GATE. Keep on doing this videos bhaiyya. Love you loads. Best video on time complexity till now and I watched till the end.

  • @ankitchaudhary.411
    @ankitchaudhary.411 Před 11 měsíci +1

    things seems very easy after the lecture 🤩🙏