frequency count method to calculate Time Complexity of an Algorithm|step count method | DS | DAA

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • #frequencycountmethod #stepcountmethod #datastructureslectures
    Frequency count (or) Step count:-
    It denotes the number of times a statement to be executed.
    Generally count value will be given depending upon corresponding statements.
    • For comments, declarations the frequency count is zero (0).
    • For Assignments, return statements the frequency count is 1.
    • Ignore lower order exponents when higher order exponents are present.
    • Ignore constant multipliers.

Комментарии • 102

  • @shreyanayak4283
    @shreyanayak4283 5 месяцев назад +6

    That Innocence in your face and eyes.. ☺Sir Thank you sooo much for this video... It helped me a lot
    .. I'm Grateful for you 🙏🙏🙏

    • @SudhakarAtchala
      @SudhakarAtchala  5 месяцев назад

      So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @gantasalasaivasanth6512
    @gantasalasaivasanth6512 Год назад +23

    First of all, I am getting mad regarding time complexity for the past few days because of ur lecture before of exam it really makes a smile on my face, tq very much sir

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад +2

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @kritikasurana4997
    @kritikasurana4997 2 года назад +17

    you are the best teacher sir...thanks for making this topic easy

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад +3

      You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @mdzikrullah9575
    @mdzikrullah9575 4 года назад +11

    I Saw many videos but didnt got the concept.Thankyou so much sir for you super explanation.
    Pls keep making such videos.

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Hai Mohmmed Zikrullah, plz go through my playlists once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @bireshwardeb5464
    @bireshwardeb5464 Год назад +12

    Thanks for all the wonderful videos sir!

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад +5

      Glad you like them! Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @clashharsha6430
    @clashharsha6430 Месяц назад +1

    legend of Indian online teaching

    • @SudhakarAtchala
      @SudhakarAtchala  Месяц назад

      Oh, thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @prensudangol1547
    @prensudangol1547 3 месяца назад +1

    thank u sir i understood the complexities for the very first time

    • @SudhakarAtchala
      @SudhakarAtchala  3 месяца назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @chebroleudaykiran3772
    @chebroleudaykiran3772 3 года назад +1

    i Saw many videos but didnt got the concept.Thankyou so much sir for you super explanation.tq sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @dharshinipk7903
    @dharshinipk7903 3 года назад +1

    I Saw many videos but didnt got the concept.Thankyou so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      Welcome Darshini. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @MonikaJ-gl5bk
    @MonikaJ-gl5bk 5 дней назад

    crystal clear explanation sir 😄

    • @SudhakarAtchala
      @SudhakarAtchala  5 дней назад

      All the best. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @LokeshPilli92
    @LokeshPilli92 2 года назад +1

    Because of you i am getting interest on this subject. Thank you sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @killer3183
    @killer3183 2 года назад +1

    Tech us in correct manner and clear my doubts thanks sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Shorts-lb8ts
    @Shorts-lb8ts 3 года назад +2

    You are doing a very nice effort for the video...Thank you so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      It's my pleasure harsh. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @hyderabadi_gamerz
    @hyderabadi_gamerz 11 дней назад

    Excellent explanation sir😊😊

    • @SudhakarAtchala
      @SudhakarAtchala  11 дней назад +1

      Thanks and welcome. Please like the video, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @harshithdande2713
    @harshithdande2713 2 года назад +1

    Thank u sir, everything is clear.

  • @_a_r_un_
    @_a_r_un_ 8 месяцев назад

    Thanks for explaining so well, sir! 🔥

    • @SudhakarAtchala
      @SudhakarAtchala  8 месяцев назад

      Most welcome! Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @Genius_Academy1444
    @Genius_Academy1444 11 месяцев назад

    Thank you so much sir ❤
    It cleared my whole doubt 🙏🙏🙏🙏

    • @SudhakarAtchala
      @SudhakarAtchala  11 месяцев назад

      Most welcome 😊. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @Pavithraselvaraj205
    @Pavithraselvaraj205 18 дней назад

    Thanks a lot sir ❤

    • @SudhakarAtchala
      @SudhakarAtchala  7 дней назад

      Most welcome. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @dr.u.thirupalu9248
    @dr.u.thirupalu9248 2 года назад +1

    Good teaching Sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @MoeUvaiz
    @MoeUvaiz 2 месяца назад

    Thanks 🙏🏼

    • @SudhakarAtchala
      @SudhakarAtchala  2 месяца назад

      You’re welcome 😊. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Madhavi_1177
    @Madhavi_1177 Год назад

    Super sir excellent teaching 🙏🙏

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @avenger1898
    @avenger1898 Месяц назад

    Sir really helpful sir , Thank you sir ,sir if possible make a video on recursion sum of time complexity sir ,please sir .. Thank you sir

    • @SudhakarAtchala
      @SudhakarAtchala  Месяц назад

      Okay. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @amruthakaluva058
    @amruthakaluva058 9 месяцев назад

    really clear explanation sir❤

    • @SudhakarAtchala
      @SudhakarAtchala  9 месяцев назад

      Glad to hear that. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @pkmkb-69
    @pkmkb-69 Год назад

    simple and elegant thanks

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @vaishnaviyshastri5344
    @vaishnaviyshastri5344 5 дней назад

    Please teach software Engineering subject too sir !

  • @bhuvan17175
    @bhuvan17175 3 месяца назад +1

    thanks a lot ❤❤

    • @SudhakarAtchala
      @SudhakarAtchala  3 месяца назад

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance

  • @kpavankalyan123
    @kpavankalyan123 Месяц назад

    Good explanation🎉

    • @SudhakarAtchala
      @SudhakarAtchala  Месяц назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @lavanyanali7258
    @lavanyanali7258 3 года назад

    Really nyc explanation sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks

  • @charlesantony9951
    @charlesantony9951 4 года назад +1

    Super thanks sir

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Charles Antony, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @hiranmai8478
    @hiranmai8478 5 месяцев назад

    THANKYOU SO MUCH SIR

    • @SudhakarAtchala
      @SudhakarAtchala  5 месяцев назад

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @akshitjasrotia9579
    @akshitjasrotia9579 3 года назад

    very helpful...thanks

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      Glad it was helpful Akshit. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @bishwajeetpandey1570
    @bishwajeetpandey1570 4 года назад

    Very nice explanation

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Vishwajeet Pandey Golu, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @adonis9568
    @adonis9568 3 года назад +1

    In for loop i=0 is a initialization
    And i++ will work n times
    So total for loop will work
    1 + n+1 + n
    =2+ 2n
    And
    A statement a=b+c
    There are 2 operations
    So FC is 2
    Why I am wrong??

  • @shivanikumaricse_2127
    @shivanikumaricse_2127 2 года назад

    Thank you sir🙏

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @mandardesai9385
    @mandardesai9385 5 лет назад

    very nice video sir👍👍💯

    • @SudhakarAtchala
      @SudhakarAtchala  5 лет назад

      Hai Mandar Desai, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @544surekhakada8
    @544surekhakada8 3 года назад +1

    Please sir,continue the design and analysis of algorithms subject

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      I will try my best Surekha. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @harshithdande2713
    @harshithdande2713 2 года назад +1

    What is space complexity of simple for loop run for n times
    having variables i and n.

  • @pavankalyanbellamkonda1436
    @pavankalyanbellamkonda1436 4 года назад

    nice explanation

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Plz subscribe to our channel and if possible share with your friends. Thanks

  • @varunjojare
    @varunjojare 11 месяцев назад

    Thank you

    • @SudhakarAtchala
      @SudhakarAtchala  11 месяцев назад

      You're welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @alekhyamadiraju6113
    @alekhyamadiraju6113 6 дней назад

    how can we calculate time complexity of a recursive function using this frequency count or step count method??

    • @SudhakarAtchala
      @SudhakarAtchala  5 дней назад

      Just like iterative only, very soon upload a video on it. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @deepaknaidu6552
    @deepaknaidu6552 3 года назад

    thank you, u made it super simple for me :P

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Welcome Deepak. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @shaiksanam2984
    @shaiksanam2984 4 месяца назад

    Sir for every question if they ask about space complexity and time complexity we can write this lecture

    • @SudhakarAtchala
      @SudhakarAtchala  4 месяца назад

      for time complexity you need to explain 2 techniques such as frequency count and asymptotic notations (refer my ds playlist)and for space complexity refer my ds playlist.Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @BCSKArulkumar
    @BCSKArulkumar 2 года назад

    Tq sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @technicaltips7293
    @technicaltips7293 5 лет назад

    Thanks sir

    • @SudhakarAtchala
      @SudhakarAtchala  5 лет назад

      Hai , Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

    • @SudhakarAtchala
      @SudhakarAtchala  5 лет назад

      Pls go through my data structures playlist once. Definitely you will like more videos. Thank you so much.

  • @ajaybabu7886
    @ajaybabu7886 Год назад

    Sir ,Is Word count method and Frequency count method both are same sir

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      As per my knowledge we have step count or frequency count. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @abhishekpathak9654
    @abhishekpathak9654 2 года назад

    🔥🔥🔥

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @i_943_harshdeepkhartade9
    @i_943_harshdeepkhartade9 Год назад

    👌👌👍

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @kuyabobss
    @kuyabobss 4 года назад +1

    Thank you for the help :) why is that counting sort algorithm has a time complexity of O(n) even though it has 3 loops?

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +2

      Hai Paaaul, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

    • @kuyabobss
      @kuyabobss 4 года назад +2

      @@SudhakarAtchaladefinitely yes, but canyou answee my question pls.

  • @pangasrilakshmi4168
    @pangasrilakshmi4168 4 года назад

    In for loop we also have I=0 and j=0... assignment should also be given 1 then it must me 1+(n+1) isn't it...can you clarify

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Yes

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Hai Lakshmi, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @rohitjadhav4451
    @rohitjadhav4451 3 года назад +1

    What is the time, space complexity of following code using frequency count method
    for(i= 1; i

  • @nepzel42069
    @nepzel42069 2 года назад

    Thankyou sir you saved me from the exam.

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.