L6. Sieve of Eratosthenes | Maths Playlist

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • Notes/Codes/Problem links under day 8 of A2Z DSA Course: takeuforward.o...
    Entire playlist: • Maths Playlist | Langu...
    Follow us on our other social media handles: linktr.ee/take...

ความคิดเห็น • 51

  • @keshavbadhekar
    @keshavbadhekar 2 หลายเดือนก่อน +53

    Sieve of Era&%#.... something like that🤣🤣🤣
    Nice Solution👍
    Understood

    • @slayer-x2f
      @slayer-x2f 3 วันที่ผ่านมา +1

      I think that was publicity move 😜

  • @pmanideep39
    @pmanideep39 4 หลายเดือนก่อน +11

    Your explanation is much better than Leetcode editorial

  • @ChannelBCD
    @ChannelBCD หลายเดือนก่อน +2

    Bro explained it smooth like butter

  • @trailblazer555
    @trailblazer555 2 หลายเดือนก่อน +3

    Understood; I'm improving my thought process in every video; Thank you bro;

  • @stith_pragya
    @stith_pragya 4 หลายเดือนก่อน +5

    Understood........Thank You So Much for this wonderful video.............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @AdityaSingh-uy8ms
    @AdityaSingh-uy8ms 17 วันที่ผ่านมา +1

    UNDERSTOOD every bit ..... Thank u soo much !!

  • @AkOp-bf9vm
    @AkOp-bf9vm 3 หลายเดือนก่อน +1

    IF WE INITIALISE VECTOR LIKE { vector arr(n+1,1)} DOES IT STILL CONSIDERED AS O(N) TIME???

    • @kshitijjha6737
      @kshitijjha6737 3 หลายเดือนก่อน

      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.

  • @taqimustafa7665
    @taqimustafa7665 4 หลายเดือนก่อน +3

    Arrays.fill(prime,1) in java

  • @Satyam-je4tb
    @Satyam-je4tb 2 วันที่ผ่านมา

    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.

  • @user-vg5tz5lu9e
    @user-vg5tz5lu9e 5 หลายเดือนก่อน +4

    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

  • @jivrajsinghshekhawat
    @jivrajsinghshekhawat 2 หลายเดือนก่อน

    Thanks brother, you have got very nice teaching skills

  • @user-qj6vm9si8x
    @user-qj6vm9si8x หลายเดือนก่อน +2

    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?

    • @valagautam727
      @valagautam727 หลายเดือนก่อน +1

      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 .

  • @nptel1punith929
    @nptel1punith929 13 วันที่ผ่านมา +1

    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

  • @prabhakaran5542
    @prabhakaran5542 26 วันที่ผ่านมา +1

    Understood ❤

  • @ipshitatandon5134
    @ipshitatandon5134 2 หลายเดือนก่อน

    Such a nice method!

  • @codeman3828
    @codeman3828 4 หลายเดือนก่อน

    Great explanation. Understood

  • @saicharanthammi143
    @saicharanthammi143 5 หลายเดือนก่อน

    Excellent explanation sir

  • @Therealtalk123
    @Therealtalk123 5 หลายเดือนก่อน +1

    Nice effort sir.. 👌 😊

  • @muhammadfarhaan6951
    @muhammadfarhaan6951 5 หลายเดือนก่อน +1

    Can you please bring a video on How to actually derive the time complexity based on maths, that'll be more helpful.

    • @jayant9416
      @jayant9416 4 หลายเดือนก่อน

      already have a vdo on his channel

    • @hashcodez757
      @hashcodez757 3 หลายเดือนก่อน

      just watch his lectures and in each one he explains in depth....aise hi seekh jaoge bhot kch.....same as me

  • @sanchitsanyam7359
    @sanchitsanyam7359 2 หลายเดือนก่อน

    Striver Sir , i am your Jabra fan

  • @vipuljamod4119
    @vipuljamod4119 2 หลายเดือนก่อน +1

    Waiting for string playlist...,

  • @28deekshitha.b78
    @28deekshitha.b78 4 หลายเดือนก่อน +2

    Why the array has taken n+1

    • @Kumaar_Ritesh
      @Kumaar_Ritesh 3 หลายเดือนก่อน +1

      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.

  • @codevibez2023
    @codevibez2023 5 หลายเดือนก่อน +1

    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

    • @codeman3828
      @codeman3828 4 หลายเดือนก่อน +13

      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

    • @codevibez2023
      @codevibez2023 4 หลายเดือนก่อน +1

      @@codeman3828 thank you for your kind advice..

    • @user-oz2eu7rs8v
      @user-oz2eu7rs8v 4 หลายเดือนก่อน

      @@codeman3828 Really appreciative

  • @SibiRanganathL
    @SibiRanganathL 19 วันที่ผ่านมา

    Undestood 😺

  • @shashankvashishtha4454
    @shashankvashishtha4454 หลายเดือนก่อน

    understood

  • @yashkalia2311
    @yashkalia2311 2 หลายเดือนก่อน

    Great

  • @2amCoder
    @2amCoder 5 หลายเดือนก่อน

    nice !

  • @adityabirdy8996
    @adityabirdy8996 5 หลายเดือนก่อน +1

    Sir i have just started a2z how much time should it take to complete

    • @ravindrarangwani102
      @ravindrarangwani102 5 หลายเดือนก่อน

      It would take around 3-4 months
      If you study 4 hours daily

  • @drishtirai864
    @drishtirai864 4 หลายเดือนก่อน

    Understood :))

  • @tharungr7701
    @tharungr7701 2 หลายเดือนก่อน

    understand sieve of eras thaas theens :)

  • @tej.askamble
    @tej.askamble 2 หลายเดือนก่อน +1

    31/05 Revise

  • @sainathpatil2674
    @sainathpatil2674 2 หลายเดือนก่อน

    if n is as big as 10^7 it will give TLE

    • @animefan4841
      @animefan4841 2 หลายเดือนก่อน

      nahh it will not

  • @Shivi32590
    @Shivi32590 2 หลายเดือนก่อน

    thank you

  • @Satyam-je4tb
    @Satyam-je4tb 2 วันที่ผ่านมา

    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.

  • @reddygopichand2002
    @reddygopichand2002 5 หลายเดือนก่อน

    Understood ❤

  • @shaiksoofi3741
    @shaiksoofi3741 2 หลายเดือนก่อน

    understood

  • @hardikpatel352
    @hardikpatel352 2 หลายเดือนก่อน

    understood

  • @anshgupta8860
    @anshgupta8860 2 หลายเดือนก่อน

    understood

  • @abhinanda7049
    @abhinanda7049 5 หลายเดือนก่อน

    understood

  • @chiragbansod8252
    @chiragbansod8252 5 หลายเดือนก่อน

    understood