Microsoft interview question

Asked string based questions in technical HR round