/**
 * Checks the missing items in the inventory.
 *
 * @param items List of required items.
 * @param inventory List of items in the inventory.
 * @return List of missing items.
 */
fun checkMissingItems(items: List<String>, inventory: List<String>): List<String> {

    // Use the filter function to find the missing items
    val missingItems = items.filter { item -> item !in inventory }
    
    return missingItems
}
/**
 * Checks the missing items in the inventory.
 *
 * @param items List of required items.
 * @param inventory List of items in the inventory.
 * @return List of missing items.
 */
fun checkMissingItems(items: List<String>, inventory: List<String>): List<String> {
/**
 * Checks the missing items in the inventory.
 *
 * @param items List of required items.
 * @param inventory List of items in the inventory.
 * @return List of missing items.
 */
fun checkMissingItems(items: List<String>, inventory: List<String>): List<String> {

    // Use the filter function to find the missing items
    val missingItems = items.filter { item -> item !in inventory }
    
    return missingItems
}