This is stuff from an algorithms and data-structures course in Computer Sciences at University of Lund.