Your explanation is much better than Leetcode editorial
@keshavbadhekar7 ай бұрын
Sieve of Era&%#.... something like that🤣🤣🤣 Nice Solution👍 Understood
@slayer-x2f5 ай бұрын
I think that was publicity move 😜
@trailblazer5557 ай бұрын
Understood; I'm improving my thought process in every video; Thank you bro;
@ChannelBCD6 ай бұрын
Bro explained it smooth like butter
@nptel1punith9295 ай бұрын
if your video doesn't exist for a concept, well it sure that we are going to have hell a lot of trouble in getting the intuition
@stith_pragya9 ай бұрын
Understood........Thank You So Much for this wonderful video.............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@AdityaSingh-uy8ms5 ай бұрын
UNDERSTOOD every bit ..... Thank u soo much !!
@AkOp-bf9vm8 ай бұрын
IF WE INITIALISE VECTOR LIKE { vector arr(n+1,1)} DOES IT STILL CONSIDERED AS O(N) TIME???
@kshitijjha67378 ай бұрын
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.
@siddiqabr71103 ай бұрын
The thing is you don't have to you can just think of 0 as primes and mark 1 for non primes
@MO-fg2cm2 ай бұрын
inner loop can be started from i*i
@taqimustafa766510 ай бұрын
Arrays.fill(prime,1) in java
@vedikamishra009Ай бұрын
wow
@AshishSingh-he2qo4 ай бұрын
Wonderful explanation ❤❤
@Satyam-je4tb5 ай бұрын
With memset, however, the values are not set to the integer 1; they are set to a non-zero integer (16843009), which is not correct for this algorithm.
@codeman38289 ай бұрын
Great explanation. Understood
@Therealtalk12310 ай бұрын
Nice effort sir.. 👌 😊
@NishikantDounekar10 ай бұрын
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
@jivrajsinghshekhawat8 ай бұрын
Thanks brother, you have got very nice teaching skills
@AkashDas-ze2co2 ай бұрын
Here the space complexity is O(n) but we can reduce it to O(n/2) by ignoring the even numbers as all the even numbers are multiple of 2. So we can ignore them.
@FutFreaKKKKK2 ай бұрын
n/2 is still n
@AkashDas-ze2co2 ай бұрын
Yeah my bad. ..I forgot about that... constants are ignored and still O(n) @@FutFreaKKKKK
@piyushchauhan2898Ай бұрын
just want to say that : Pdh ke Mza aa gya
@RamyaSreevarshiniАй бұрын
Thank u so much ✨
@saicharanthammi14310 ай бұрын
Excellent explanation sir
@KeerthiReddyKolan6 ай бұрын
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?
@valagautam7276 ай бұрын
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 .
@oyeshxrme27 күн бұрын
thanks bhaiya
@ipshitatandon51347 ай бұрын
Such a nice method!
@sanchitsanyam73597 ай бұрын
Striver Sir , i am your Jabra fan
@reddygopichand200210 ай бұрын
Understood ❤
@Gottastudyhard-m3b10 ай бұрын
Can you please bring a video on How to actually derive the time complexity based on maths, that'll be more helpful.
@jayant941610 ай бұрын
already have a vdo on his channel
@hashcodez7578 ай бұрын
just watch his lectures and in each one he explains in depth....aise hi seekh jaoge bhot kch.....same as me
@prasadm36144 ай бұрын
Your work load added eye shades
@MICHAELMURITHI-y7y4 ай бұрын
Thanks man
@codevibez202310 ай бұрын
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
@codeman38289 ай бұрын
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
@codevibez20239 ай бұрын
@@codeman3828 thank you for your kind advice..
@AyushMishra-b8w9 ай бұрын
@@codeman3828 Really appreciative
@vipuljamod41197 ай бұрын
Waiting for string playlist...,
@28deekshitha.b789 ай бұрын
Why the array has taken n+1
@Kumaar_Ritesh8 ай бұрын
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.
@2amCoder10 ай бұрын
nice !
@abhinanda704910 ай бұрын
understood
@drishtirai86410 ай бұрын
Understood :))
@SibiRanganathL5 ай бұрын
Undestood 😺
@vedikamishra009Ай бұрын
11:16
@IBMX654 ай бұрын
12:30
@adityabirdy899610 ай бұрын
Sir i have just started a2z how much time should it take to complete
@ravindrarangwani10210 ай бұрын
It would take around 3-4 months If you study 4 hours daily
@yashkalia23117 ай бұрын
Great
@ErenYeager-dp4er15 күн бұрын
Done on 17 Jan 2025 at 22:40 Place : Study Room 2 , Hostel 5 , IIT Bombay
@PspkFans-qh6xe14 күн бұрын
bro creating new trend torchbearer
@devangagarwal9545 ай бұрын
Where is thecode
@tharungr77018 ай бұрын
understand sieve of eras thaas theens :)
@sainathpatil26748 ай бұрын
if n is as big as 10^7 it will give TLE
@therandomguy217 ай бұрын
nahh it will not
@tej.askamble8 ай бұрын
31/05 Revise
@Shivi325907 ай бұрын
thank you
@Satyam-je4tb5 ай бұрын
With memset, however, the values are not set to the integer 1; they are set to a non-zero integer (16843009), which is not correct for this algorithm.