Class notes for Udacity algorithms course