Which type of algorithm is harder to prove the correctness?
Answers
Answered by
11
Answer:
Greedy algorithms are easy to design, but hard to prove correct • Usually, a counterexample is the best way to do this • Interval scheduling provided an example where it was easy to come up with a simple greedy algorithm. – However, we were able to show the algorithm non-optimal by using a counterexample.
Answered by
93
Photosynthesis is a process used by plants and other organisms to convert light energy into chemical energy that, through cellular respiration, can later be released to fuel the organism's activities.
Similar questions