Algorithms practice & notes