Training exercises - codility.com/train/