EY Interview Question

String and array based questions