What is the 'no free lunch theorem' and its implication for algorithm research?
-
A
Every algorithm has the same average-case performance summed over all problems
-
B
No single algorithm outperforms all others across every possible input distribution
-
C
All NP-hard problems require exponential time in the worst case
-
D
The optimal algorithm always uses the least memory