CMSC 3140 Analysis of Algorithms