time complexity is wrong in the example Sum = Sum + A[i] ; will only take 1 cost and the total of this will be only (n) . and the total complexity of algorithm will be (3n+4)
Those whoever commented as good, amazing must be this mam's students...she is just creating hell of confusion about this subject...first try to learn yourself properly
It's asymptotic analysis, meaning we care about the trend as n approaches infinity. In your case, if n was infinity, the +2 wouldn't really impact the overall trend, so for simplicity we just leave it out.
each of the numbers under cost multiplied the entities under repetition corresponding to same postion then add. example 1*1 + 1(n+1) + 1*n = 1 + (n+1) + n = 1 + n + 1 + n = 2n + 2
Amazing. Best video i watched so far on algorithms
The total amount time requred by an alg to cmplt itd execution
time complexity is wrong in the example
Sum = Sum + A[i] ; will only take 1 cost and the total of this will be only (n) .
and the total complexity of algorithm will be (3n+4)
if loop has assignment and condition in it why is time complexity not n+2?
Those whoever commented as good, amazing must be this mam's students...she is just creating hell of confusion about this subject...first try to learn yourself properly
calculating the time complexity makes no sense at all.......
what is calculating the cost in algorithm,i didnt understand
I think aeroplane passes from her home 🏡
if loop has assignment and condition in it why is time complexity not n+2?
It's asymptotic analysis, meaning we care about the trend as n approaches infinity. In your case, if n was infinity, the +2 wouldn't really impact the overall trend, so for simplicity we just leave it out.
@@piercepowell9695 thanks
I think it's wrong how did you get (2n+2)
Instead of (6n+6). If correct so Tell me please .. ? 9:24
each of the numbers under cost multiplied the entities under repetition corresponding to same postion then add. example 1*1 + 1(n+1) + 1*n = 1 + (n+1) + n = 1 + n + 1 + n = 2n + 2
i didnt understand repetation 1+(n+1)+n
mood uparse kharab hua
Bohot galat padhaya hai mam band karo ye sab
🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄
Putting dumb and sensless videos on the youtube....first remove DAA playlist from your channel.
stop teaching and start cooking
Brilliant teaching ..make more videos
previous video does not contain space complexity
Time complexity wrong find kiya h
Nice 👍
very impotren tutorial
Love From Pakistan
Tq
Need to improve
Olgorithm nahi madumji Algorithm 😂😂😂😂😂
Olgorithm nahi madumji Algorithm 😂😂😂😂😂
stop putting videos plz
If it doesnt benefits you ..it benefits others .