Grokking Algorithms by Aditya Bhargava (2016, Trade Paperback) You will find that this textbook has plenty of margin space for taking notes.