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.
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 🙏🙏🙏
So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
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
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
you are the best teacher sir...thanks for making this topic easy
You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
I Saw many videos but didnt got the concept.Thankyou so much sir for you super explanation.
Pls keep making such videos.
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.
Thanks for all the wonderful videos sir!
Glad you like them! Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
legend of Indian online teaching
Oh, thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
thank u sir i understood the complexities for the very first time
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
i Saw many videos but didnt got the concept.Thankyou so much sir for you super explanation.tq sir
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
I Saw many videos but didnt got the concept.Thankyou so much sir
Welcome Darshini. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
crystal clear explanation sir 😄
All the best. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
Because of you i am getting interest on this subject. Thank you sir
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Tech us in correct manner and clear my doubts thanks sir
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
You are doing a very nice effort for the video...Thank you so much sir
It's my pleasure harsh. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Excellent explanation sir😊😊
Thanks and welcome. Please like the video, subscribe to the channel, and share it with your friends. Thanks in advance.
Thank u sir, everything is clear.
Always welcome
Thanks for explaining so well, sir! 🔥
Most welcome! Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
Thank you so much sir ❤
It cleared my whole doubt 🙏🙏🙏🙏
Most welcome 😊. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
Thanks a lot sir ❤
Most welcome. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.
Good teaching Sir
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Thanks 🙏🏼
You’re welcome 😊. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Super sir excellent teaching 🙏🙏
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
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
Okay. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
really clear explanation sir❤
Glad to hear that. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
simple and elegant thanks
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Please teach software Engineering subject too sir !
thanks a lot ❤❤
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance
Good explanation🎉
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Really nyc explanation sir
Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks
Super thanks sir
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.
THANKYOU SO MUCH SIR
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
very helpful...thanks
Glad it was helpful Akshit. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Very nice explanation
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.
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??
Thank you sir🙏
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
very nice video sir👍👍💯
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.
Please sir,continue the design and analysis of algorithms subject
I will try my best Surekha. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
What is space complexity of simple for loop run for n times
having variables i and n.
O(n)
nice explanation
Plz subscribe to our channel and if possible share with your friends. Thanks
Thank you
You're welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
how can we calculate time complexity of a recursive function using this frequency count or step count method??
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.
thank you, u made it super simple for me :P
Welcome Deepak. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Sir for every question if they ask about space complexity and time complexity we can write this lecture
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...
Tq sir
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Thanks sir
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.
Pls go through my data structures playlist once. Definitely you will like more videos. Thank you so much.
Sir ,Is Word count method and Frequency count method both are same sir
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..
🔥🔥🔥
thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
👌👌👍
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
Thank you for the help :) why is that counting sort algorithm has a time complexity of O(n) even though it has 3 loops?
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.
@@SudhakarAtchaladefinitely yes, but canyou answee my question pls.
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
Yes
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.
What is the time, space complexity of following code using frequency count method
for(i= 1; i
Thankyou sir you saved me from the exam.
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.