Lec 10 Algorithms