Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by kartikeya2812
1
votes
0
answers
1
Time Complexity
What will be the time complexity of the following algorithm ? A(n){ if(n<=1) return 1; for(i=1;i<n;i++){ for(j=0;j<3;j++){ A(n-1) } } }
What will be the time complexity of the following algorithm ?A(n){if(n<=1) return 1;for(i=1;i<n;i++){ for(j=0;j<3;j++){ A(n-1) } }}
394
views
asked
Jun 16, 2018
Algorithms
time-complexity
algorithms
asymptotic-notation
recursion
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register