Some basic algo practice and notes