Microsoft interview question

3 tasks using codility The first one was an mcq second and third was problem solving