/**
 * You are an interior designer working on a project. Your task is to update the wall color
 * of a specific room in a house. The wall colors are stored in a dictionary where the keys
 * represent the rooms and the values represent the current wall color.
 *
 * Your task is to complete the code to change the wall color of the given room to the new color.
 * Note that each room can have multiple walls.
 *
 * @param wallColors A dictionary storing the current wall colors of the rooms in the house.
 * @param room The name of the room for which the wall color needs to be updated.
 * @return The updated dictionary with the new wall color for the specified room.
 */
fun updateWallColor(wallColors: MutableMap<String, MutableList<String>>, room: String): MutableMap<String, MutableList<String>> {

    // Define the new wall color for the specified room
    val newWallColor = "NEW_COLOR"

    // Iterate over the room's walls and update their color
    wallColors[room]?.forEachIndexed { index, _ ->
        wallColors[room]?.set(index, newWallColor)
    }

    return wallColors
}
/**
 * You are an interior designer working on a project. Your task is to update the wall color
 * of a specific room in a house. The wall colors are stored in a dictionary where the keys
 * represent the rooms and the values represent the current wall color.
 *
 * Your task is to complete the code to change the wall color of the given room to the new color.
 * Note that each room can have multiple walls.
 *
 * @param wallColors A dictionary storing the current wall colors of the rooms in the house.
 * @param room The name of the room for which the wall color needs to be updated.
 * @return The updated dictionary with the new wall color for the specified room.
 */
fun updateWallColor(wallColors: MutableMap<String, MutableList<String>>, room: String): MutableMap<String, MutableList<String>> {
/**
 * You are an interior designer working on a project. Your task is to update the wall color
 * of a specific room in a house. The wall colors are stored in a dictionary where the keys
 * represent the rooms and the values represent the current wall color.
 *
 * Your task is to complete the code to change the wall color of the given room to the new color.
 * Note that each room can have multiple walls.
 *
 * @param wallColors A dictionary storing the current wall colors of the rooms in the house.
 * @param room The name of the room for which the wall color needs to be updated.
 * @return The updated dictionary with the new wall color for the specified room.
 */
fun updateWallColor(wallColors: MutableMap<String, MutableList<String>>, room: String): MutableMap<String, MutableList<String>> {

    // Define the new wall color for the specified room
    val newWallColor = "NEW_COLOR"

    // Iterate over the room's walls and update their color
    wallColors[room]?.forEachIndexed { index, _ ->
        wallColors[room]?.set(index, newWallColor)
    }

    return wallColors
}