/**
 * Given two strings seq1 and seq2, find the characters in seq1 that are not present in seq2.
 *
 * @param seq1 The first string.
 * @param seq2 The second string.
 * @return A string containing the characters in seq1 that are not present in seq2.
 *
 * Example:
 * findMissingCharacters("AGTCGACGT", "TCG") // Returns 'A'
 * findMissingCharacters("ACGT", "ATCG") // Returns ''
 * findMissingCharacters("ACGT", "TGCA") // Returns ''
 * findMissingCharacters("ACGT", "") // Returns 'ACGT'
 */
fun findMissingCharacters(seq1: String, seq2: String): String {

    var missingChars = ""
    var i = 0
    while (i < seq1.length) {
        if (seq1[i] !in seq2) {
            missingChars += seq1[i]
        }
        i++
    }
    return missingChars
}
/**
 * Given two strings seq1 and seq2, find the characters in seq1 that are not present in seq2.
 *
 * @param seq1 The first string.
 * @param seq2 The second string.
 * @return A string containing the characters in seq1 that are not present in seq2.
 *
 * Example:
 * findMissingCharacters("AGTCGACGT", "TCG") // Returns 'A'
 * findMissingCharacters("ACGT", "ATCG") // Returns ''
 * findMissingCharacters("ACGT", "TGCA") // Returns ''
 * findMissingCharacters("ACGT", "") // Returns 'ACGT'
 */
fun findMissingCharacters(seq1: String, seq2: String): String {
/**
 * Given two strings seq1 and seq2, find the characters in seq1 that are not present in seq2.
 *
 * @param seq1 The first string.
 * @param seq2 The second string.
 * @return A string containing the characters in seq1 that are not present in seq2.
 *
 * Example:
 * findMissingCharacters("AGTCGACGT", "TCG") // Returns 'A'
 * findMissingCharacters("ACGT", "ATCG") // Returns ''
 * findMissingCharacters("ACGT", "TGCA") // Returns ''
 * findMissingCharacters("ACGT", "") // Returns 'ACGT'
 */
fun findMissingCharacters(seq1: String, seq2: String): String {

    var missingChars = ""
    var i = 0
    while (i < seq1.length) {
        if (seq1[i] !in seq2) {
            missingChars += seq1[i]
        }
        i++
    }
    return missingChars
}