Next:
SPACE COMPLEXITY
Up:
DESIGN AND ANALYSIS
Previous:
AVERAGE-CASE COST?
DID WE AVERAGE OVER ALL POSSIBLE INPUTS?
Let us allow the possibility that
might not be in
.
Let
For
,
Thus,
Thus,
if
if
if
,
Cost, Work = time complexity
.
Sushil_Prasad 2012-08-23