/**
 * This function takes a list of colors, patterns, and a dress type and generates all possible outfit combinations.
 *
 * @param colors a list of strings representing different colors
 * @param patterns a list of strings representing different patterns
 * @param dressType a string representing the type of dress
 * @return a list of strings representing all possible outfit combinations
 *
 * Example:
 * createOutfitCombinations(listOf("Red", "Blue"), listOf("Polka Dots", "Stripes"), "Dress")
 * Output: ['Red Polka Dots Dress', 'Red Stripes Dress', 'Blue Polka Dots Dress', 'Blue Stripes Dress']
 */
fun createOutfitCombinations(colors: List<String>, patterns: List<String>, dressType: String): List<String> {

    val combinations = mutableListOf<String>()
    for (color in colors) {
        for (pattern in patterns) {
            combinations.add("$color $pattern $dressType")
        }
    }
    return combinations
}
/**
 * This function takes a list of colors, patterns, and a dress type and generates all possible outfit combinations.
 *
 * @param colors a list of strings representing different colors
 * @param patterns a list of strings representing different patterns
 * @param dressType a string representing the type of dress
 * @return a list of strings representing all possible outfit combinations
 *
 * Example:
 * createOutfitCombinations(listOf("Red", "Blue"), listOf("Polka Dots", "Stripes"), "Dress")
 * Output: ['Red Polka Dots Dress', 'Red Stripes Dress', 'Blue Polka Dots Dress', 'Blue Stripes Dress']
 */
fun createOutfitCombinations(colors: List<String>, patterns: List<String>, dressType: String): List<String> {
/**
 * This function takes a list of colors, patterns, and a dress type and generates all possible outfit combinations.
 *
 * @param colors a list of strings representing different colors
 * @param patterns a list of strings representing different patterns
 * @param dressType a string representing the type of dress
 * @return a list of strings representing all possible outfit combinations
 *
 * Example:
 * createOutfitCombinations(listOf("Red", "Blue"), listOf("Polka Dots", "Stripes"), "Dress")
 * Output: ['Red Polka Dots Dress', 'Red Stripes Dress', 'Blue Polka Dots Dress', 'Blue Stripes Dress']
 */
fun createOutfitCombinations(colors: List<String>, patterns: List<String>, dressType: String): List<String> {

    val combinations = mutableListOf<String>()
    for (color in colors) {
        for (pattern in patterns) {
            combinations.add("$color $pattern $dressType")
        }
    }
    return combinations
}