Text this: Fundamentals of sequential and parallel algorithms / Kenneth A. Berman and Jerome L. Paul.