Question
Which of the following properties must a problem exhibit
to be solvable by a greedy algorithm?Solution
Greedy algorithms work by making locally optimal choices at each step with the hope that these choices will lead to a globally optimal solution. This requires two properties:   1. Greedy Choice Property: A globally optimal solution can be arrived at by making a locally optimal (greedy) choice.   2. Optimal Substructure: An optimal solution to the problem contains optimal solutions to its subproblems.
(392 + 427 + 226 – 325) ÷ (441 + 128 – 425) = ?Â
1000÷ 250 = ( 3√? × √1444) ÷ ( 3√512 × √361)
- What will come in place of the question mark (?) in the following questions?
180÷3×2+6=? 52% of 36% of 810 = 72% of 18% of ?Â
Determine the value of 'p' in following expression:
720 ÷ 9 + 640 ÷ 16 - p = √121 X 5 + 6²- 75.5 × 3.2 × 2.3 = ?
(18 2 – 17 2) x (1/5) + ? = 148
√3598 × √(230 ) ÷ √102= ?
Determine the simplified value of following expression:
0.998 + 0.882 + 0.12Â
13 X ? = 85 X 4 + √81 + 2