IBM Interview Question

String, array and data structure questions