Recent questions tagged algorithm-design-technique

8.8k
views
2 answers
2 votes
The Knapsack problem belongs to which domain of problems?OptimizationNP completeLinear SolutionSorting
2.5k
views
1 answers
0 votes
Binary search tree is an example of :Divide and conquer techniqueGreedy algorithmBack trackingDynamic Programming
232
views
0 answers
0 votes
Give an algorithm that determines the number of inversions in any permutation on $n$ elements in $\Theta (n\ lg\ n)$ worst-case time. (Hint: Modify merge sort.)
384
views
1 answers
0 votes
Describe a $\Theta(n\ lg\ n)$ time algorithm that, given a set $S$ of $n$ integers and another integer $x$, determines whether or not there exist two elements in $S$ whose sum is exactly $x$.
1.2k
views
2 answers
0 votes
Dijkstra’s algorithm is based onGreedy approachDynamic programmingBacktracking paradigmDivide and conquer paradigm
5.2k
views
1 answers
3 votes
The following paradigm can be used to find the solution of the problem in minimum time:Given a set of non-negative integer and a value $K$, ... set with sum equal to $K$:Divide and ConquerDynamic ProgrammingGreedy AlgorithmBranch and Bound
614
views
0 answers
1 votes
What is branch and bound and how is it using queue datastructure
755
views
1 answers
1 votes
What is the ans and give reason
1.3k
views
2 answers
1 votes
Hamiltonian circuit can be most perfectly related with:A. Greedy approachB. Dynamic programmingC. BacktrackingD. Branch and bound
7.3k
views
7 answers
27 votes
2.5k
views
1 answers
0 votes
In a village, people build houses in the same side of the road. A thief plans to loot the village. He wants maximum amount of money without having ... (c) Backtracking(d) Divide and conquer Please provide explanation to your solution :)
2.8k
views
2 answers
13 votes
Consider the following problem. Given $n$ positive integers $a_{1}, a_{2}\dots a_n,$ it is required to partition them in to two parts $A$ and $B$ ... with $n=5$ for which the solution produced by the greedy algorithm is not optimal.
6.0k
views
1 answers
12 votes
Match the pairs in the following questions: ...
8.0k
views
2 answers
7 votes
Which of the following algorithm design technique is used in merge sort?Greedy methodBacktrackingDynamic programmingDivide and Conquer
6.8k
views
3 answers
6 votes
Selection sort algorithm design technique is an example ofGreedy methodDivide-and-conquerDynamic ProgrammingBacktracking
7.3k
views
3 answers
26 votes
Given below are some algorithms, and some algorithm design paradigms. ... , 2-ii, 3-i, 4-iv}$\text{1-iii, 2-ii, 3-i, 4-v}$
5.8k
views
4 answers
28 votes
Match the following: ... {P-ii, Q-iii, R-iv, S-i}$\text{P-ii, Q-i, R-iii, S-iv}$
5.1k
views
2 answers
22 votes
Merge sort uses:Divide and conquer strategyBacktracking approachHeuristic searchGreedy approach
18.7k
views
7 answers
22 votes
Algorithm design technique used in quicksort algorithm is?Dynamic programmingBacktrackingDivide and conquerGreedy method
5.3k
views
3 answers
22 votes
The correct matching for the following pairs is ... $\text{A-4 B-1 C-2 D-3}$
9.3k
views
2 answers
25 votes
Which one of the following algorithm design techniques is used in finding all pairs of shortest distances in a graph?Dynamic programmingBacktrackingGreedyDivide and Conquer
To see more, click for the full list of questions or popular tags.