Recent questions tagged time-complexity

5 votes
1 answer
271
1 votes
1 answer
275
1 votes
1 answer
276
3 votes
1 answer
277
3 votes
2 answers
290
The most efficient algorithm for finding the number of connected components in a $n$ undirected graph on $n$ vertices and $m$ edges has time complexity$\Theta (n)$$\Theta...
0 votes
1 answer
292
1 votes
3 answers
296
4 votes
11 answers
297
Which of the following sorting algorithms does not have a worst case running time of $O(n​^2​)$?Insertion sort.Merge sort.Quick sort.Bubble sort.
5 votes
2 answers
299
Complexity of Kruskal's algorithm for finding minimum spanning tree of an undirected graph containing $n$ vertices and $m$ edges if the edges are sorted is:$O(mn)$$O(m)$$...
4 votes
4 answers
300
Two main measures for the efficiency of an algorithm are:Processor and MemoryComplexity and CapacityTime and SpaceData and Space