retagged by
1,568 views
0 votes
0 votes

Match the following with respect to algorithm paradigms :

$\begin{array}{clcl} & \textbf{List-I} & {} & \textbf{List-II} \\ \text{a.} & \text{Merge sort} & \text{i.} & \text{Dynamic programming}  \\  \text{b.} & \text{Huffman coding} & \text{ii.} & \text{Greedy approach} \\ \text{c.} & \text{Optimal polygon triangulation} & \text{iii.} & \text{Divide and conquer} \\ \text{d.} & \text{Subset sum problem} & \text{iv.} & \text{Back tracking} \\  \end{array}$

$\textbf{Codes :}$

  1. $\text{a-iii, b-i, c-ii, d-iv}$
  2. $\text{a-ii, b-i, c-iv, d-iii}$
  3. $\text{a-ii, b-i, c-iii, d-iv}$
  4. $\text{a-iii, b-ii, c-i, d-iv}$
retagged by

6 Answers

0 votes
0 votes

option d

a) merge ------------------------------------.> iii) Divide and conquer 

b) Huffman coding -------------------------> ii)Greedy approach 

c)Optimal polygon triangulation -------->i) Dynamic programming 

d)Subset sum problem------------------->iv)Backtracking

  • optimal polygon triangulation is similar to matrix chain multiplication.
  • we will solve the Subset Sum problem using a backtracking as well as dynamic prog.

so the best matching is option d

edited by
0 votes
0 votes

 

Merge sort--Divide and conquer

Huffman coding--Greedy approach

Optimal polygon triangulation--Back tracking

Subset sum problem--Dynamic programming


 

Answer:

Related questions

0 votes
0 votes
3 answers
1
go_editor asked Mar 24, 2020
1,634 views
Match the following :$\begin{array}{clcl} & {\textbf{Addressing Mode}} & {} & {\textbf{Location of operand}} \\ \text{a.} & \text{Implied} & \text{i.} & \text{Registe...
0 votes
0 votes
5 answers
2
go_editor asked Mar 24, 2020
3,606 views
The minimum number of scalar multiplication required, for parenthesization of a matrix-chain product whose sequence of dimensions for four matrices is $< 5,10,3,12,5 $ is...
0 votes
0 votes
4 answers
3
go_editor asked Mar 24, 2020
2,233 views
Dijkstra’s algorithm is based onDivide and conquer paradigmDynamic programmingGreedy approachBacktracking paradigm
0 votes
0 votes
4 answers
4
go_editor asked Jan 31, 2017
2,353 views
Red-black trees are one of many search tree schemes that are “balanced” in order to guarantee that basic dynamic-set operations take _____ time in the worst case.$O(1...