IBM interview question

Coding questions 1) Strings and only array