COEN 179 Lecture Notes - Lecture 23: Eval, Subset, Polynomial

7 views5 pages

Document Summary

This is hard, because we have to consider all possible algorithms. However, for some problems, we can prove optimally for certain classes of algorithms. Def: a lower bound for a given problem is a necessary requirement on the computation needed to solve that problem. N (f(n)) is tight if there is an algorithm for the problem that runs on time o(f(n)) In other words, a tight lower bound is necessary and sufficient. Note: lower bounds are properties of problems, not algorithms. 1)trivial lower bounds based on the input or output size of the problem. any algorithm for the problem must spend that much time to read and write data. e. g. generating subsets. Output: all subsets of {1, 2, , n} Subsets of {1, 2, 3} are: , {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3} n = 0. A lower bound of (2^n) is based on the output size.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents