Analysis and Design of Algorithm