Pregunta de entrevista de Wayfair

Coding Challenge: Without using recursion, generate a combination of strings from an array.