Analytics Fire interview question

Four questions on codility