HOW TO CALCULATE TIME COMPLEXITY WITH EXAMPLES (Part-1) || FINDING TIME COMPLEXITY || DAA

  Рет қаралды 22,309

Sundeep Saradhi Kanthety

Sundeep Saradhi Kanthety

Күн бұрын

Пікірлер: 23
@ANILKUMAR-yw7zw
@ANILKUMAR-yw7zw 12 күн бұрын
we are blessed to have you Sir ..Love You
@aryakumar727
@aryakumar727 4 ай бұрын
thnkq so much sir i have watched too many videos but cant understand this logarithmic part u have clear explanation finally i understood
@sidd77_
@sidd77_ 11 ай бұрын
Thank you for making these videos sir, very helpful!
@Tkklak
@Tkklak 10 ай бұрын
Excellent explanation, thank you
@ChaitanyaKumar-r7j
@ChaitanyaKumar-r7j 6 ай бұрын
Respected Sir, in this video at around 12.48 point, you have said that the loop gets executed for (n+1) times and then again at 13.53 point you have taken similar loop but saying it gets executed n times. How can both be different sir?
@lhtcboss2002
@lhtcboss2002 7 ай бұрын
Excellent ,this is quite clear thank you so much Sir
@lachimolala360
@lachimolala360 2 ай бұрын
great explanation sir!
@tejasreebole9427
@tejasreebole9427 5 ай бұрын
Sir in some examples you are taking n+1,and in others n for the same loop,how will it differ??? Are u just avoiding the constants????
@tejasreebole9427
@tejasreebole9427 5 ай бұрын
In the last example the print statement is inside the loop so it will be executed for n times ,even though the time complexity is 0(n) we get the equation as 2n+3
@myrealm7115
@myrealm7115 5 ай бұрын
hey could you explain what did he tell at 9:34 by showing other time complexities ?
@Rakshithaailla-f7h
@Rakshithaailla-f7h 10 ай бұрын
Thank you sir🎉
@manishareddy627
@manishareddy627 Жыл бұрын
Hello sir I have watched all your videos on DBMS and SQL.. I really found it useful!! Would it be possible for you to share any PDF on SQL?
@carromplayer4357
@carromplayer4357 4 ай бұрын
Thank you sir... ❤
@lokeshpallapu101
@lokeshpallapu101 8 ай бұрын
Good explanation sir
@sahanakgowda2684
@sahanakgowda2684 7 ай бұрын
in the last example ,,why didn't u avoided constant in n+1 sir
@infuze6647
@infuze6647 7 ай бұрын
Because when writing it in terms of big O, we get rid of any constants, so the +1 will be removed and we only write O(n)
@Srikanth11-bh2zx
@Srikanth11-bh2zx 7 ай бұрын
Thank you 👍
@killerkisser9130
@killerkisser9130 4 ай бұрын
Thanks you sir
@raistar72
@raistar72 Жыл бұрын
Deep learning technique subject playlist plz
@sampathm4253
@sampathm4253 5 ай бұрын
thank u sir
@faizanmaalik9715
@faizanmaalik9715 Жыл бұрын
@patrickemerysevor7410
@patrickemerysevor7410 Жыл бұрын
Mr. Saradhi please can you me with this: perform a theoritical analysis on the algorithm below and state the complexity functionand asymtotic compleity #include void swap(int &a, int &b){ int temp = a; a = b: b = temp; } void Sort(int arr[], int n){ for (int i = 0; i < n - i - 1; ++j){ for (int j = 0; j < n - i - 1; ++j){ // compare adjacent elementa if (arr[j] > arr[j + 1]){ // Swap if they are in the wrong order swap(arr[j] > arr[j + 1]); } } } void printArray(int arr[], int size){ for (int i = 0; i < size; i ++){ std:: cout
@vlogwithvivek8207
@vlogwithvivek8207 7 ай бұрын
sir i run 0 to n then time complexity come O(n) if we want to run i 0 to 5 then what will be the time complexity
AMORTIZED ANALYSIS WITH EXAMPLE || AMORTIZED TIME COMPLEXITY || DAA
19:10
Sundeep Saradhi Kanthety
Рет қаралды 17 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
numbers in javascript
5:44
Prasanna Srs
Рет қаралды 17
Big-O Notation - For Coding Interviews
20:38
NeetCode
Рет қаралды 546 М.
1.5.1 Time Complexity #1
10:08
Abdul Bari
Рет қаралды 2,5 МЛН
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,3 МЛН
MERGE SORT USING DIVIDE AND CONQUER WITH EXAMPLE AND TIME COMPLEXITY || DAA
29:05
Sundeep Saradhi Kanthety
Рет қаралды 12 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 199 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
Big O Notation - Full Course
1:56:16
freeCodeCamp.org
Рет қаралды 574 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН