Microsoft interview question

Mostly Array and String questions