retagged by
1,556 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

1 votes
1 votes
it is straight from book and no explanation required i think

Mere sort-> D &Q

Huffman ->Greedy

Subset Sum->

already we got the answer..only D matches this two options

so D is correct answer
1 votes
1 votes

Ans will be  4 

Merge sort                              ----->   iii Divide and conquer

Huffman coding                       ----->   ii Greedy approach

Optimal polygon triangulation    -------> i. Dynamic Programming

Subset sum problem                -------> iv. Back tracking 

Greedy algorithm is an algorithm that follows the problem solving mechanism  of making the locally optimal solution at each stage with thinking  of finding a global optimum solution for the problem and In Huffman coding in every stage we try to find the the prefix free binary code and try to minimize expected code word for optimum solution for compress the data.

0 votes
0 votes

Merge sort                              ----->   iii Divide and conquer

Huffman coding                       ----->   ii Greedy approach

Optimal polygon triangulation    -------> i. Dynamic Programming

Subset sum problem                -------> iv. Back tracking 

just match first 2..

Merge sort is a sorting technique based on divide and conquer technique. With worst-case time complexity being Ο(n log n), it is one of the most respectedalgorithmsMerge sort first divides the array into equal halves and then combines them in a sorted manner.

Greedy algorithm is an algorithm that follows the problem solving mechanism  of making the locally optimal solution at each stage with thinking  of finding a global optimum solution for the problem and In Huffman coding in every stage we try to find the the prefix free binary code and try to minimize expected code word for optimum solution for compress the data.

0 votes
0 votes
We can do this question simply Elimination

Merge sort is based on Divide and Conquer because it Firstly divide then merge

So ii and iii eliminated

Huffman coding is a greeady approach

So option i is eliminated

Answer is option D
Answer:

Related questions

0 votes
0 votes
3 answers
1
go_editor asked Mar 24, 2020
1,619 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,586 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,217 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,345 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...