Brillio interview question

List manipulation