SmartNews Interview Question

They are all codility problems.