Pregunta de entrevista de NextSphere

Reverse a string, Flatten an array without any built-in helpers