Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged mit-quiz
0
votes
1
answer
1
MIT assignment
Find the complexity of the following code fragment: int i = 1; for(; i <= n logn; i++) { for(i++; i <= n; i++) { printf("1") } }
Find the complexity of the following code fragment:int i = 1; for(; i <= n logn; i++) { for(i++; i <= n; i++) { printf("1") } }
sushmita
923
views
sushmita
asked
Sep 28, 2018
Algorithms
time-complexity
algorithms
mit-quiz
+
–
1
votes
2
answers
2
MIT ASSIGNMENT
Find the complexity of the following function when called with some integer n: void foo(n) { int i,j,k,x=0; for (i=1 ; i <= n ; i++) for (j=1 ; j <= i * i ; j++) for ( k = 1 ; k <= j ; k++) { x=x+10; } }
Find the complexity of the following function when called with some integer n:void foo(n) { int i,j,k,x=0; for (i=1 ; i <= n ; i++) for (j=1 ; j <= i * i ; j++) for ( k ...
sushmita
777
views
sushmita
asked
Sep 28, 2018
Algorithms
algorithms
time-complexity
mit-quiz
+
–
0
votes
2
answers
3
MIT ASSIGNMENT
FIND THE TIME COMPLEXITY int i=1,j; for(;i <= n;i + +) { for(j = i; j <= nlogn; j∗= 2) { sum++; } }
FIND THE TIME COMPLEXITYint i=1,j; for(;i <= n;i + +) { for(j = i; j <= nlogn; j∗= 2) { sum++; } }
sushmita
851
views
sushmita
asked
Sep 28, 2018
Algorithms
algorithms
time-complexity
mit-quiz
+
–
1
votes
1
answer
4
MIT_algorithms
I don't understand How?
I don't understand How?
Rishav Kumar Singh
518
views
Rishav Kumar Singh
asked
Jul 30, 2018
Algorithms
time-complexity
algorithms
mit-quiz
+
–
1
votes
1
answer
5
MIT assignment Doubt
How the worst case of merge sort is O(n^2) according to the given MIT assignment pdf:- explain ?
How the worst case of merge sort is O(n^2) according to the given MIT assignment pdf:-explain ?
Shubhanshu
655
views
Shubhanshu
asked
May 9, 2017
Algorithms
algorithms
time-complexity
mit-quiz
+
–
2
votes
3
answers
6
MIT Course
For each group of functions, sort the functions in increasing order of asymptotic (big-O) complexity: ... its an exponential function, but since the power is to 1.000001, it is growing very slowly, since base is tending to 1 only. Someone please check this.
For each group of functions, sort the functions in increasing order of asymptotic (big-O) complexity:$\begin{align*} &(a) \;\;f1(n) = n^{0.999999} * \log n \\ &(b) \;\;f2...
sushmita
7.1k
views
sushmita
asked
Mar 21, 2017
Algorithms
time-complexity
algorithms
mit-quiz
+
–
1
votes
1
answer
7
MIT QUIZ
plz explain otherwise i ll memorize it..
plz explain otherwise i ll memorize it..
2018
410
views
2018
asked
Nov 23, 2016
Algorithms
uniform-hashing
mit-quiz
+
–
1
votes
1
answer
8
MIT QUIZ
2018
595
views
2018
asked
Nov 23, 2016
Algorithms
uniform-hashing
mit-quiz
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register