Notes/Codes/Problem links under day 8 of A2Z DSA Course: takeuforward.org/strivers-a2z... Entire playlist: • Maths Playlist | Langu... Follow us on our other social media handles: linktr.ee/takeuforward
Пікірлер: 46
@keshavbadhekarАй бұрын
Sieve of Era&%#.... something like that🤣🤣🤣 Nice Solution👍 Understood
@rishujeetrai578021 күн бұрын
So we did all that to decrease the TC from O(N*sqrtN) to O(N*sqrt(sqrtN) + 2N) and gained an additional SC of O(N) which is actually pretty impressive when it comes ridiculously large values of N. For example, for N=2^32, first approach will do 2^48 operations while the latter will do 2^42 operations, which is a great deal lesser than the first one.
@pmanideep393 ай бұрын
Your explanation is much better than Leetcode editorial
@trailblazer555Ай бұрын
Understood; I'm improving my thought process in every video; Thank you bro;
@stith_pragya3 ай бұрын
Understood........Thank You So Much for this wonderful video.............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@ChannelBCD6 күн бұрын
Bro explained it smooth like butter
@ipshitatandon5134Ай бұрын
Such a nice method!
@jivrajsinghshekhawat2 ай бұрын
Thanks brother, you have got very nice teaching skills
@codeman38283 ай бұрын
Great explanation. Understood
@prabhakaran55422 күн бұрын
Understood ❤
@Therealtalk1234 ай бұрын
Nice effort sir.. 👌 😊
@saicharanthammi1434 ай бұрын
Excellent explanation sir
@sanchitsanyam7359Ай бұрын
Striver Sir , i am your Jabra fan
@taqimustafa76654 ай бұрын
Arrays.fill(prime,1) in java
@2amCoder4 ай бұрын
nice !
@AkOp-bf9vm2 ай бұрын
IF WE INITIALISE VECTOR LIKE { vector arr(n+1,1)} DOES IT STILL CONSIDERED AS O(N) TIME???
@kshitijjha67372 ай бұрын
Yes as it is not exact time taken.. It is just an asymptotic notation of time taken, an assumption of how fast the code will run.
@drishtirai8644 ай бұрын
Understood :))
@yashkalia2311Ай бұрын
Great
@chiragbansod82524 ай бұрын
understood
@user-vg5tz5lu9e4 ай бұрын
Sir I visited your website after Harkirat sir's webinar, But I can't able to singup in takeuforward website also no content showing loading AToZ - DSA page, why is it sir, help me out
@vipuljamod4119Ай бұрын
Waiting for string playlist...,
@muhammadfarhaan69514 ай бұрын
Can you please bring a video on How to actually derive the time complexity based on maths, that'll be more helpful.
@jayant94163 ай бұрын
already have a vdo on his channel
@hashcodez7572 ай бұрын
just watch his lectures and in each one he explains in depth....aise hi seekh jaoge bhot kch.....same as me
@tharungr77012 ай бұрын
understand sieve of eras thaas theens :)
@Shivi32590Ай бұрын
thank you
@user-qj6vm9si8x13 күн бұрын
Instead of filling the arrays with one and then changing them to zeros, isn't it better to use the default zero and change it to 1 accordingly?
@valagautam7278 күн бұрын
It is not going to change anything. By default all elements of array are not zero some of them are zero and some of them are one or garbage so we have to fill all the elements with zero which is same .
@codevibez20234 ай бұрын
When it will be complete?? I am confused to start . I am thinking to start this series but when it will completely end of this batch
@codeman38283 ай бұрын
Hey i know i am late but just an advice. Start with the A-Z sheet as soon as possible without waiting for it to be finished. Striver has left only 4-5 topics but rest 13-14 are there with detailed explanation. If you are in college trust me you will never get this time back again. It will be very hard to study DSA along with job. I am working professional and it is very difficult to study when you are tired because of work and only have weekends to study long. So fight your procrastination and start studying. All the best
@codevibez20233 ай бұрын
@@codeman3828 thank you for your kind advice..
@user-oz2eu7rs8v3 ай бұрын
@@codeman3828 Really appreciative
@adityabirdy89964 ай бұрын
Sir i have just started a2z how much time should it take to complete
@ravindrarangwani1024 ай бұрын
It would take around 3-4 months If you study 4 hours daily
@28deekshitha.b783 ай бұрын
Why the array has taken n+1
@Kumaar_Ritesh2 ай бұрын
For n = 31, we get an indexing till 30 right ? So, while printing the indices we have elements till 30 and not 29, that has been done. Hope it's clear now.