Pregunta de entrevista de Brudite

Simple array questions and logical reasoning trough coding