"My absolute favorite for this kind of interview preparation is Steven Skiena’s The Algorithm Design Manual. More than any other …
With examples of all 450 functions in action plus tutorial text on the mathematics, this book is the definitive guide …