Google Interview Question

String operation on an integer array