Pregunta de entrevista de MapmyIndia

Asked two questions based on array and string