/**
 * In this exercise, you are an interior designer tasked with finding missing furniture items from a given list of items.
 * Given a furniture list and a list of items to check, you need to identify the missing furniture items.
 *
 * @param furnitureList A list of furniture items (String) already present in a room.
 * @param itemsToCheck A list of items (String) to check if they are present in the furniture list.
 * @return A list of missing furniture items (String) that are not present in the furniture list.
 *
 * Example:
 * Missing furniture items: ['chair', 'lamp']
 */
fun findMissingFurniture(furnitureList: List<String>, itemsToCheck: List<String>): List<String> {

    val missingFurniture = mutableListOf<String>()

    for (item in itemsToCheck) {
        if (item !in furnitureList) {
            missingFurniture.add(item)
        }
    }

    return missingFurniture
}
/**
 * In this exercise, you are an interior designer tasked with finding missing furniture items from a given list of items.
 * Given a furniture list and a list of items to check, you need to identify the missing furniture items.
 *
 * @param furnitureList A list of furniture items (String) already present in a room.
 * @param itemsToCheck A list of items (String) to check if they are present in the furniture list.
 * @return A list of missing furniture items (String) that are not present in the furniture list.
 *
 * Example:
 * Missing furniture items: ['chair', 'lamp']
 */
fun findMissingFurniture(furnitureList: List<String>, itemsToCheck: List<String>): List<String> {
/**
 * In this exercise, you are an interior designer tasked with finding missing furniture items from a given list of items.
 * Given a furniture list and a list of items to check, you need to identify the missing furniture items.
 *
 * @param furnitureList A list of furniture items (String) already present in a room.
 * @param itemsToCheck A list of items (String) to check if they are present in the furniture list.
 * @return A list of missing furniture items (String) that are not present in the furniture list.
 *
 * Example:
 * Missing furniture items: ['chair', 'lamp']
 */
fun findMissingFurniture(furnitureList: List<String>, itemsToCheck: List<String>): List<String> {

    val missingFurniture = mutableListOf<String>()

    for (item in itemsToCheck) {
        if (item !in furnitureList) {
            missingFurniture.add(item)
        }
    }

    return missingFurniture
}