/**
 * You are a carpenter and you need to find out which tools are missing from your toolbox.
 * Given a list of all tools and a list of tools currently in use, write a function that returns a list of tools that are missing from your toolbox.
 *
 * @param tools A list of strings representing all the tools you have in your toolbox.
 * @param inUseTools A list of strings representing the tools currently in use.
 * @return A list of strings representing the tools that are missing from your toolbox.
 *
 * Example:
 * findMissingTools(listOf("hammer", "saw", "screwdriver", "drill"), listOf("screwdriver", "drill", "pliers")) -> listOf("hammer", "saw")
 * findMissingTools(listOf("hammer", "saw", "screwdriver"), listOf("hammer", "saw", "screwdriver")) -> emptyList()
 */
fun findMissingTools(tools: List<String>, inUseTools: List<String>): List<String> {

    val missingTools = mutableListOf<String>()

    // Iterate over each tool in the tools list
    for (tool in tools) {
        if (tool !in inUseTools) {
            missingTools.add(tool)
        }
    }

    return missingTools
}
/**
 * You are a carpenter and you need to find out which tools are missing from your toolbox.
 * Given a list of all tools and a list of tools currently in use, write a function that returns a list of tools that are missing from your toolbox.
 *
 * @param tools A list of strings representing all the tools you have in your toolbox.
 * @param inUseTools A list of strings representing the tools currently in use.
 * @return A list of strings representing the tools that are missing from your toolbox.
 *
 * Example:
 * findMissingTools(listOf("hammer", "saw", "screwdriver", "drill"), listOf("screwdriver", "drill", "pliers")) -> listOf("hammer", "saw")
 * findMissingTools(listOf("hammer", "saw", "screwdriver"), listOf("hammer", "saw", "screwdriver")) -> emptyList()
 */
fun findMissingTools(tools: List<String>, inUseTools: List<String>): List<String> {
/**
 * You are a carpenter and you need to find out which tools are missing from your toolbox.
 * Given a list of all tools and a list of tools currently in use, write a function that returns a list of tools that are missing from your toolbox.
 *
 * @param tools A list of strings representing all the tools you have in your toolbox.
 * @param inUseTools A list of strings representing the tools currently in use.
 * @return A list of strings representing the tools that are missing from your toolbox.
 *
 * Example:
 * findMissingTools(listOf("hammer", "saw", "screwdriver", "drill"), listOf("screwdriver", "drill", "pliers")) -> listOf("hammer", "saw")
 * findMissingTools(listOf("hammer", "saw", "screwdriver"), listOf("hammer", "saw", "screwdriver")) -> emptyList()
 */
fun findMissingTools(tools: List<String>, inUseTools: List<String>): List<String> {

    val missingTools = mutableListOf<String>()

    // Iterate over each tool in the tools list
    for (tool in tools) {
        if (tool !in inUseTools) {
            missingTools.add(tool)
        }
    }

    return missingTools
}