Aeolus Robotics interview question

log parsing, matrix, polygon, string on Codility