Applied Systems interview question

Array manipulations in any language.