Question d’entretien chez Wayfair

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