Publicis Sapient Interview Question

String manipulation and array manipulation