Capita interview question

ML,statistics, programming