Bravo, that was the clearest yet most complete 8 min intro to complexity on KZbin. Hey, you found a good teaching algorithm - balance time and headspace efficiencies. Props.
@thembalamimsimango89933 жыл бұрын
You explained ten times better than my lecturer did in just 8-minutes, thank you
@kevindsa572 жыл бұрын
After 4 years of Engineering in Computer Science this was the best explanation of Time Complexity thank you !!
@I_am_FRANCO Жыл бұрын
engineering in cs 🤔
@emrahcansahinoglu23422 ай бұрын
@@I_am_FRANCO In some countries like mine (Türkiye formerly Turkey) the major called Computer Engineering is identical to Computer Science in both curriculum and concept. However, we just took a couple of more courses (in my opinion) from Electrical and Electronics Engineering regarding to the Hardware. Even my degree is given as B.S. in Comp. Eng. I guess he may have a similar situation.
@meBZcookie4 жыл бұрын
6:04 Time Complexity for Sorts
@stephenmusau239428 күн бұрын
The simplest yet most comprehensive explanation that I have come across. Well done sir!
@W3Fi Жыл бұрын
Incredible, I find myself at a loss for words to adequately express the precision and clarity of the elucidation.
@AV-mb8lv4 жыл бұрын
Explains O(1), O(n), O(n^2). Then says, "now let's look at the scale of diff. complexities O(1), O(log n), O(n), O(nlog n), O(n^2)" Wait, where are the missing bits? "Now you'll be able to calculate all time complexities of the algorithms"
@himanshukandwal87103 жыл бұрын
for(int i=0; i
@jqn83613 жыл бұрын
@@himanshukandwal8710 O(n), You're going through all the i elements of the list (this is repeated n times + 1 time, just before the for loop breaks), which is a function of n, and assigning them to an integer value, which takes constant time. Searching through the linked list also takes constant time. You're also printing each element, which also takes constant time. So you have T(n) = c1*(n+1) + c2 + c3 + c4 = O(n)
@biikaaa.65403 жыл бұрын
@@himanshukandwal8710 O(n)
@harshitraj9533 жыл бұрын
@@himanshukandwal8710 hllo,, sir,, Don't act 😎Smart sir
@outsiderthevoid8780Ай бұрын
this guy taught me more in 8 minutes than my professor did in 3 weeks love u bro❤
@bhaskarnarayan21093 жыл бұрын
You could also mention the complexities like O(logn), O(nlogn) etc. and the concepts of Master Theorem. It would be better.
@stith_pragya7 ай бұрын
Thank You So Much for this wonderful video......................🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@alekhyarao54319 ай бұрын
Excellent explanation and easy to understand. Thank you!
@ohmegatech666Ай бұрын
Good video. Quick correction at 5:48, O(n^c) is not exponential, it's polynomial since the exponent is a constant, like O(n^2) or O(n^3). Exponential is when the variable itself is in the exponent like O(2^n)
@WitchelsArtSchool9 ай бұрын
best video explaining complexity. the complexity of complexity have been resolved here :D
@jerrybear5866Ай бұрын
Thank you , you saved me for exam today.
@aleksandrakja67929 ай бұрын
You explained this misery better than my teacher ever could
@LucusJanny Жыл бұрын
It was the best video on KZbin about Time complexity. Best wishes for you bro
@mohammedghabyen7214 жыл бұрын
Best explanation, thank u
@laawuni3 жыл бұрын
Best so far. you saved me
@twinkleshaw693 Жыл бұрын
Best video ever watched ❤️
@ankishgupta15174 жыл бұрын
Perfect explanation...plzz upload more videos on complexities... 👌
@ObsessedMee3 жыл бұрын
This is called clear concept 🙌✨
@meghaadikarinayake70679 ай бұрын
Thank you very much!!!!❤
@meowrice3 жыл бұрын
thanks! i finally understand bigO notations! the last part also is a big bonus for me. thank you!
@Tauhid214 Жыл бұрын
I appreciate your work. How about the for loops: for(i=1, i
@Millii2703 Жыл бұрын
O(n^2)
@floki69393 жыл бұрын
Precise illustration. Thank you
@debsankarpal763 Жыл бұрын
Wonderful! Best explanation in 8 minutes
@LilJollyJoker11 ай бұрын
Thank You!
@srichandana51223 жыл бұрын
very clear and understandable .... thank u for ur vedio
@mahendrasahani914810 ай бұрын
thank you, very good teaching algorithms
@kmishy3 жыл бұрын
Simple and great content. I wonder how my prof taught
@kmishy3 жыл бұрын
As time moves 💕
@farzamafifi22573 жыл бұрын
Evaluate single-core performance for integer computation. Perform two experiments: with task bound to the APP core and separately to the PRO core. Observe if there is a difference in measurements. Propose an algorithm that is able to generate a complexity of integer computation observable and measurable. Perform at least 10 measurements for each experiment. Consider using parts of code for Dhrystone benchmark its is my task is any has source code for in c ++ cause have to run in vrel
@harshitraj9533 жыл бұрын
??? Ffff
@swapnildadamode6623 жыл бұрын
Man! You're the best! This is what i need
@ece547teamsioux54 жыл бұрын
Great efforts. Thank you:) Regards from USA
@subbusharma39904 жыл бұрын
Thank you for this Regards from Russia
@msnraju972 жыл бұрын
Very good explanation, Learned in 10mins Indian Engineer's lives depend on GFG. without it IT industry will fall
@hashantha_lk Жыл бұрын
Thanks, that was the most enlightening explanation it to complexity after lot of confusing video explanations on YT. You are the best !
@AdeniranAbisolaAbiwax2 жыл бұрын
This is the best explanation i have come across so far
@aladdinalswaifi96552 жыл бұрын
Well done Very clever and clear explanation Many Thanks
@josephbermudez95334 жыл бұрын
for 4:10, it is O(2n). Not O(n) Great video, thanks!
@BigYous4 жыл бұрын
you drop the constants for big O
@resep12344 жыл бұрын
@@BigYous but if you drop the constants it should still be n+n which is 2n
@arjunjain77734 жыл бұрын
You don't use constants for bigO I don't know why... It's stupid but that's just how it is
@ognimoddd4 жыл бұрын
@@arjunjain7773 No, it's not stupid. The constants don't affect it as input gets bigger so it is useless to keep
@shawmcinroy4724 жыл бұрын
lepke 2 is a constant...
@DaBaSoftware2 жыл бұрын
Thank you for the resource!
@jamesstark41364 жыл бұрын
Thanks! this helped a lot for my CS 211 class.
@anonymoustravelvidz2 жыл бұрын
thank you, very helpful video.
@studentbengal40433 жыл бұрын
Best tutorial ever on this topic... Thanks
@neerajmahapatra52393 жыл бұрын
You are very clear and easy to understand. Thanks...😍😍😍😍
@danialsiddiqi6353 жыл бұрын
Thank you for this video.
@pradeepsinghrajput96763 жыл бұрын
Really to the point and efficient explanation. Kudos
@matteooccello4913 жыл бұрын
Thanks for the video! It was clear and really practical :)
@manishjoshi49894 жыл бұрын
one doubt in sequence time complexity you described c1 + c2 n + c3 n = BigO n time complexity ( doubt is after removing constant from equation why n + n is not 2n)
@firdousanjum78933 жыл бұрын
2 is constant so remove it. It will now b o(n)
@lakshmibonala28132 жыл бұрын
How c1+c2n+c3n = O(n)?? Is it O(2n) by removing constants.
@Sanatani_kanya_ Жыл бұрын
C1+n(C2+C3)
@notnemeziz2 ай бұрын
O(2n) and O(n) are the same thing....O here stands for order of...so 2n, 3n or any cn is an order of n ie O(n)
@shreyankraia97624 жыл бұрын
This video explains only O(1),O(n) and O(n^2) Don't waste your time if your looking for other time complexity
@AhmedAli-kf2wg3 жыл бұрын
I really appreciate the way you teach us. Thanks a lot sir : >)
@mathwithmathu17552 жыл бұрын
Really superb and very useful. Very good explanation...
@neyso_dl98109 күн бұрын
I knew that Indians where the best explainer
@GGanzolo Жыл бұрын
Really good introduction of time complexity. Thank you!
@infi-tech380810 ай бұрын
I believe there was a mistake on 4:23: The time complexity for this sequence of loops would be O(n) + O(n), which simplifies to O(2n) not 0(n)
@heycalvinnn10 ай бұрын
You remove the constant in this case the 2 in 2n so you would be left with O(n)
@pomegranate85934 жыл бұрын
when u said welcome to video i felt rly welcomed thank u my friend! also very helpful video!
@YeabselamKassaye9 ай бұрын
😂😊😊😊😊😊😊
@jhonbhai89433 жыл бұрын
I was too much Dived into his Teaching .That I heard someone sparking gas Stove lighter at 1:34😂
@shreyapandey1423 Жыл бұрын
Best lecture 😊
@LeelaseshuKumar3 жыл бұрын
Thanks for the explanation of time complexity. But you missed log n and n log n
@saphalvecham5539 Жыл бұрын
Wonderfully put
@AbdurRahman-op8zn Жыл бұрын
Excellent ! Thanks a lot.
@rahulmajumdar55252 жыл бұрын
Thank you for the great explanation straight to the point.....
@sumantabanerjee9728 Жыл бұрын
for(i=0; i
@ryanmckenna20473 жыл бұрын
Thanks that video was incredible...your incredible!
@956zombie9564 жыл бұрын
The best !
@seemarani24032 жыл бұрын
Awesome explanation👌👌
@hinaafzal43482 жыл бұрын
Such a good way of teaching Very well done 👍👍👍
@atharva..deshmukh4 жыл бұрын
Finally, I got something that I wanted!!
@johndavies7292 жыл бұрын
Really well explained. Thank you!
@marjoriejetajobe5123 жыл бұрын
Thanks, I learned a lot!
@sagarchawla49263 жыл бұрын
Smooth ✨
@amrutapatil14174 жыл бұрын
simple and sweet!
@bhagirathsinhmakwana60853 жыл бұрын
Hey priti !!
@bhagirathsinhmakwana60853 жыл бұрын
😘😘😘
@JPN-bx3yd4 жыл бұрын
This is a great explanation.
@ilyas1569 Жыл бұрын
I understand the topic, thanks :)
@padigapatinarmada97293 жыл бұрын
Simply superb
@JamesBrodski3 жыл бұрын
Great video. Thank you so much! Very helpful
@yaro_05 Жыл бұрын
Very nice. Thanks
@martinnieva84842 жыл бұрын
This was a wonderful introduction! Thank you
@sheikhjabed39674 жыл бұрын
Very Helpful.Thanks a lot
@gangadharaswamy88563 жыл бұрын
I think for 3 sequential statements time complexity is 2n+1
@ishika6945 Жыл бұрын
hey can you tell me why in 4:13 its O(n) and not O(2n) since we are adding na...i do have doubt here. i will be highly obliged if u do reply. thankyou
@gaminghub23 Жыл бұрын
@@ishika6945 constants aren't important and are ignored in time complexity. It would not impact much or any
@gangadharaswamy8856 Жыл бұрын
@@ishika6945 c1+c2n+c3n take common factor here n is common so we get =c1+n(c2+c3) Ignore constants c1, c2, c3 Then we have "n" remains There fore time complexity will be 0(n)
@gangadharaswamy8856 Жыл бұрын
@@ishika6945 c1+c2n+c3n =c1+n(c2+c3) Ignore constants c1, c2, c3 Then we have "n" remains There fore time complexity will be 0(n)
@Edit-your-selfАй бұрын
2x speed better to understand
@Reacher19983 жыл бұрын
Helped a lot, great video 🔥
@kanishkaralasi74082 жыл бұрын
Wonderful explanation! You're the best 💯
@Umerele1 Жыл бұрын
man no matter how much i focus i can't understand time complexity 😥
@cschiud55712 жыл бұрын
dog, the prof explained that in like one every week for 3-4 weeks and i just understood it better here after 8 minutes :D
@dusmannalinwad2 жыл бұрын
short and great..!!
@gauria6688 Жыл бұрын
Please make a video on space complexity
@shouryaverma63134 жыл бұрын
ohh finally I found what I wanted thanks a lot sir
@haidermunir93413 жыл бұрын
So I am here! Thank you FAST-NUCES.
@AYESHAZAMURD-s4pАй бұрын
Sir what if in sequential statement the time take by each statement was n+n^2 + n^ 3 then what would be the total Time complexity...?
@amalkrishnas1696 Жыл бұрын
Thanks for the video
@akashp48632 жыл бұрын
Thanks man
@faizanyounas47998 ай бұрын
kamal boss
@hi-tk4hu3 жыл бұрын
very good explanation and easy for beginners to understand thank you❤️
@divinegeorgeninan58222 жыл бұрын
Thank you❤
@swanandjoshi9993 Жыл бұрын
Thank you
@MsAdeel663 жыл бұрын
i love u dude.
@code2compass6 ай бұрын
How is the sequential O(n)? Does it add up all together? I thought it should be O(2n)