Pregunta de entrevista de Aloha Technology

array string logic based question