Lower And Upper Bound Theory in Algorithm