Systems Analysis interview question

Pattern,string manipulation,transpose of matrix