Recent questions tagged algorithms

0 votes
1 answer
3271
0 votes
1 answer
3272
67 votes
11 answers
3274
44 votes
5 answers
3275
59 votes
5 answers
3277
25 votes
3 answers
3285
Given below are some algorithms, and some algorithm design paradigms.$$\begin{array}{ll|ll}\hline \text{1.} & \text{Dijkstra's Shortest Path} & \text{i.} & \text{Divide a...
61 votes
6 answers
3286
An unordered list contains $n$ distinct elements. The number of comparisons to find an element in this list that is neither maximum nor minimum is$\Theta(n \log n)$$\Thet...
26 votes
4 answers
3287
Match the following:$$\begin{array}{|ll|ll|}\hline \text{P.} & \text{Prim's algorithm for minimum spanning tree} & \text{i.} & \text{Backtracking} \\\hline \text{Q.}...
62 votes
12 answers
3288
2 votes
2 answers
3291
0 votes
3 answers
3293
When do we say that 2 functions are polynomially comparable for applying master theorem...? We can apply the theorem for T(n)=3T(n/4)+nlgn but cant apply it for T(n)=2T(n...
1 votes
2 answers
3296
0 votes
1 answer
3297
0 votes
1 answer
3298
answer is c.Can Any body suggest some analytical approach to solve it.
0 votes
2 answers
3299
Please answer both Question 9 and 10 both with approach.Also in Question 9th which algorithm they assume since I believe answer varies according to algorithm as well.In Q...