Algorithms Part I and Part II