Fundamentals of computer algorithms - Horowitz, Ellis (Pitman Publishing, 1978)