Design and analysis of computer algorithms - Aho, Alfred V. (South Asia Pearson, 2008)