Grokking Algorithms, Second Edition by Aditya Y Bhargava: New This textbook is an affordable alternative to the newer edition.