notes from algorithm lectures 1767834