Question
Which of the following algorithms is a classic example
of the Divide and Conquer paradigm?Solution
Merge Sort exemplifies Divide and Conquer: Â Â Â Â Divide: It divides the unsorted list into 'N' sublists, each containing one element (a list of one element is considered sorted). Â Â Â Â Conquer: It repeatedly merges sublists to produce new sorted sublists until there is only one sorted list remaining. Â Â Â Â Combine: The merging process combines the sorted sublists.
A bag contains coins of Rs 1, 50p, and 25p and the ratio of the number of coins is 6:15:16. If the total value of all the coins is Rs 1050 then what wil...
A bag contains Re 1 and 50 paise coins in the ratio 2 : 3. While the ratio of 50 paise and 25 paise is 4:5. If the total value of these coins is Rs 177....
- If the mean proportion of 3.6 and 1.6 is 'k', then find the value of '5k'.
Three numbers are in the ratio 3:5:6. If the sum of their squares is 630, then the numbers are:
What must be added to each term of the ratio 5:12 so that it may equal to 3:4?
A grandfather leaves Rs. 14,350 to be divided among 4 sons, 3 daughters and 3 grandson. If each daughter receives six times as much as each grandson and...
If 'a' is the mean proportion of 12.8 and 0.8 and 'b' is the third proportional to 1.2 and 4.8, then find (a + b) :(b - a) .
Divide Rs. 2541 among Deepa and Deepak in the ratio (11/8) : (11/6) ?
Rs. 23942 are divided between A and B in the ratio 3:7. What is the difference between thrice the share of A and twice the share of B?
- If ‘A’, ‘B’ and ‘C’ are in proportion in the given order while ‘A’ = 15 and ‘B’ = 30, then find the value of ‘C’.