Sinergia Media Labs interview question

coding questions based on arrays and strings