/**
 * Given a sequence of strings, remove all the vowels from each string and return the updated sequence.
 *
 * Example:
 * removeVowels(listOf("hello", "world")) => listOf("hll", "wrld")
 */
fun removeVowels(sequence: List<String>): List<String> {

    val updatedSequence = mutableListOf<String>()  // Create a mutable list to store the updated strings
    
    for (string in sequence) {  // Iterate over each string in the sequence
        var newString = ""  // Create an empty string to store the updated version of the current string
        for (char in string) {  // Iterate over each character in the current string
            if (char.toLowerCase() !in listOf('a', 'e', 'i', 'o', 'u')) {  // If the character is not a vowel
                newString += char  // Add the character to the updated string
            }
        }
        updatedSequence.add(newString)  // Add the updated string to the list
    }
    
    return updatedSequence
}
/**
 * Given a sequence of strings, remove all the vowels from each string and return the updated sequence.
 *
 * Example:
 * removeVowels(listOf("hello", "world")) => listOf("hll", "wrld")
 */
fun removeVowels(sequence: List<String>): List<String> {
/**
 * Given a sequence of strings, remove all the vowels from each string and return the updated sequence.
 *
 * Example:
 * removeVowels(listOf("hello", "world")) => listOf("hll", "wrld")
 */
fun removeVowels(sequence: List<String>): List<String> {

    val updatedSequence = mutableListOf<String>()  // Create a mutable list to store the updated strings
    
    for (string in sequence) {  // Iterate over each string in the sequence
        var newString = ""  // Create an empty string to store the updated version of the current string
        for (char in string) {  // Iterate over each character in the current string
            if (char.toLowerCase() !in listOf('a', 'e', 'i', 'o', 'u')) {  // If the character is not a vowel
                newString += char  // Add the character to the updated string
            }
        }
        updatedSequence.add(newString)  // Add the updated string to the list
    }
    
    return updatedSequence
}