IBM interview question

Q. basic string and arrays questions. BST