/**
 * Given two DNA sequences, seq1 and seq2, add their elements to a set and return the set.
 * Both sequences are strings containing characters A, C, G, or T.
 */
fun addSequenceElements(seq1: String, seq2: String): Set<Char> {

    // Create an empty set to store the elements
    val elementsSet = mutableSetOf<Char>()

    // Iterate over each element in seq1
    for (element in seq1) {
        // Add the element to the set
        elementsSet.add(element)
    }

    // Iterate over each element in seq2
    for (element in seq2) {
        // Add the element to the set
        elementsSet.add(element)
    }

    // Return the set containing all the elements from seq1 and seq2
    return elementsSet
}
/**
 * Given two DNA sequences, seq1 and seq2, add their elements to a set and return the set.
 * Both sequences are strings containing characters A, C, G, or T.
 */
fun addSequenceElements(seq1: String, seq2: String): Set<Char> {
/**
 * Given two DNA sequences, seq1 and seq2, add their elements to a set and return the set.
 * Both sequences are strings containing characters A, C, G, or T.
 */
fun addSequenceElements(seq1: String, seq2: String): Set<Char> {

    // Create an empty set to store the elements
    val elementsSet = mutableSetOf<Char>()

    // Iterate over each element in seq1
    for (element in seq1) {
        // Add the element to the set
        elementsSet.add(element)
    }

    // Iterate over each element in seq2
    for (element in seq2) {
        // Add the element to the set
        elementsSet.add(element)
    }

    // Return the set containing all the elements from seq1 and seq2
    return elementsSet
}