How to Understand the Time Complexity of the problem from the Constraints ?? || CODE EXPLAINER

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • Telegram channel link : t.me/joinchat/...
    Instagram link : www.instagram....

Komentáře • 32

  • @ananyamishra829
    @ananyamishra829 Před 3 lety +4

    This was much needed. Really helpful. Thank you!

  • @madhusudanr8800
    @madhusudanr8800 Před 3 lety +5

    Quite useful!
    Can you also make a comprehensive video to analyze time and space complexity of coding problems?

  • @ajitshiva9193
    @ajitshiva9193 Před 4 lety +5

    In GFG, they told that 10^8 operations can be done in 1secs. If I am wrong please correct me. I'm confused

    • @saikatdas3645
      @saikatdas3645 Před 4 lety +1

      According to me 10^8 might take little longer time than 1sec.

    • @codeExplainer
      @codeExplainer  Před 4 lety +1

      yes , see different people say different value , but just take in mind that how to see the constraints in questions in contest or interview, if it has 10^5 or 10^6 , then in no way can solve in 1 sec if we do in N^2 way.

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

      It depends on platform and the processor speed of the judge. Maybe GFG have a better processor.

  • @AnkitKumar-ci3tv
    @AnkitKumar-ci3tv Před měsícem

    4:40 sir how could log10^5 less than 10 , 2^10 is of order 10^3.
    Know not much difference in 10 0r 20 , was just pointing the error

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

    NICE SUPER EXCELLENT MOTIVATED

  • @Marian-h6y
    @Marian-h6y Před 15 hodinami

    Bhai , everyone does cp in c++. I am learing dsa in java. How to do cp in java? or should i swtich to c++.? Can you give resources how to start cp in java, or should i switch to cpp

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

    nice,really helpful.thankyou

  • @HarshKumar-nv1fo
    @HarshKumar-nv1fo Před 4 lety

    Really helpful for beg. in cp, thanks for posting .

  • @037_sayedramishali7
    @037_sayedramishali7 Před 4 lety +4

    It means that when we are given 2 secs
    We actually have 2*10^6 operations in hand???
    Earlier i thougt 2 sec means 10^12 operations😂😂

  • @ss-xh3hf
    @ss-xh3hf Před 3 lety +1

    much needed

  • @tarundecipher
    @tarundecipher Před 4 lety

    Liked it 😁

  • @pranaygupta6256
    @pranaygupta6256 Před 3 lety

    Thank u so much bro❤️

  • @rohitsahu5612
    @rohitsahu5612 Před 3 lety

    best*******************

  • @ajoydev8876
    @ajoydev8876 Před rokem

    🖤

  • @AbhishekJha-wm5oq
    @AbhishekJha-wm5oq Před 4 lety

    1st viewer 😄.
    1st comment

  • @nazmulislamananto
    @nazmulislamananto Před rokem

    boss