Frequency Count | How to find time complexity? | Step by step finding frequency count
Frequency Count | How to find frequency count | Time Complexity using frequency count In this Video I have covered following topics: - What is frequency Count? - What is use of frequency count? - Example-1 Simple Example without loop - Example-2 With one Loop - Example-3 With nesting of Loop - Big Oh - Constant Time Complexity O(1) - How to calculate frequency count? - Definition of Frequency count - Frequency count method For Practice : Find Frequency Count of Following Code: Code-1 int a, b, c, d, ans1, ans2; a = 10; b = 20; c = 30; d = 40; ans1 = a * b; printf("%d",ans1); ans2 = c *d; printf("%d",ans2); Code-2 i = 1; a = 0; b = 0; while ( i less than or equal n ) // In description angle brackets are { a = a + i; not allowed so I have written text b = b + a; "less than or equal" . i = i + 1; } Code-3 for(x=1 ; x less than or equal n ; x++) { for( y=1 ; y less than or equal n ; y++ ) { c = x / y; d= x * y; e= x - y; } } #frequency count #FrequencyCount #timecomplexity #bigO #bigOh #how to find frequency count #step by step calculating frequency count
Download
0 formatsNo download links available.