/**
 * This function takes a list of furniture and a list of styles and returns a set of all possible combinations
 * of furniture and styles using list comprehension.
 *
 * @param furniture A list of furniture names (String).
 * @param styles A list of style names (String).
 * @return A set of all possible combinations of furniture and styles.
 *
 * Example:
 * addFurnitureStyles(listOf("chair", "table"), listOf("modern", "vintage"))
 * Output: setOf("chair modern", "table modern", "chair vintage", "table vintage")
 */
fun addFurnitureStyles(furniture: List<String>, styles: List<String>): Set<String> {

    return furniture.flatMap { furnitureItem -> styles.map { style -> "$furnitureItem $style" } }.toSet()
}
/**
 * This function takes a list of furniture and a list of styles and returns a set of all possible combinations
 * of furniture and styles using list comprehension.
 *
 * @param furniture A list of furniture names (String).
 * @param styles A list of style names (String).
 * @return A set of all possible combinations of furniture and styles.
 *
 * Example:
 * addFurnitureStyles(listOf("chair", "table"), listOf("modern", "vintage"))
 * Output: setOf("chair modern", "table modern", "chair vintage", "table vintage")
 */
fun addFurnitureStyles(furniture: List<String>, styles: List<String>): Set<String> {
/**
 * This function takes a list of furniture and a list of styles and returns a set of all possible combinations
 * of furniture and styles using list comprehension.
 *
 * @param furniture A list of furniture names (String).
 * @param styles A list of style names (String).
 * @return A set of all possible combinations of furniture and styles.
 *
 * Example:
 * addFurnitureStyles(listOf("chair", "table"), listOf("modern", "vintage"))
 * Output: setOf("chair modern", "table modern", "chair vintage", "table vintage")
 */
fun addFurnitureStyles(furniture: List<String>, styles: List<String>): Set<String> {

    return furniture.flatMap { furnitureItem -> styles.map { style -> "$furnitureItem $style" } }.toSet()
}