in Algorithms retagged by
796 views
1 vote
1 vote

T(n) = T(n-1) + n4 

in Algorithms retagged by
796 views

2 Comments

T(n) = n + (n-1)+ (n-2)+ (n-3)+ ........... 3+ 24  + 14

0
0
respected dear sir please post the full answer i am not able to derive it at the i th or kth step/stage

i am getting confused how to write general expression

please post full answer please
0
0

1 Answer

1 vote
1 vote

See this 

3 Comments

answer is coming T(n) = O (n5 )

0
0

Yes answer is O(n5)

Summation of n^4 was done incorrectly in the above image !!

See this :

0
0
answer is n^5 ..select the correct answer properly
0
0