/**
 * Given a dictionary, the function concatenates all the keys together and returns the concatenated string.
 *
 * @param dictionary A dictionary containing the keys.
 * @return Concatenated string of all the keys.
 *
 * Examples:
 * val myDict = mapOf("key1" to "value1", "key2" to "value2", "key3" to "value3")
 * concatenateDictionaryKeys(myDict) // Output: "key1key2key3"
 */
fun concatenateDictionaryKeys(dictionary: Map<String, String>): String {

    var concatenatedKeys = ""  // Initializing an empty string to store the concatenated keys

    // Loop through each key in the dictionary
    for (key in dictionary.keys) {
        concatenatedKeys += key  // Concatenate each key to the existing string
    }

    return concatenatedKeys
}
/**
 * Given a dictionary, the function concatenates all the keys together and returns the concatenated string.
 *
 * @param dictionary A dictionary containing the keys.
 * @return Concatenated string of all the keys.
 *
 * Examples:
 * val myDict = mapOf("key1" to "value1", "key2" to "value2", "key3" to "value3")
 * concatenateDictionaryKeys(myDict) // Output: "key1key2key3"
 */
fun concatenateDictionaryKeys(dictionary: Map<String, String>): String {
/**
 * Given a dictionary, the function concatenates all the keys together and returns the concatenated string.
 *
 * @param dictionary A dictionary containing the keys.
 * @return Concatenated string of all the keys.
 *
 * Examples:
 * val myDict = mapOf("key1" to "value1", "key2" to "value2", "key3" to "value3")
 * concatenateDictionaryKeys(myDict) // Output: "key1key2key3"
 */
fun concatenateDictionaryKeys(dictionary: Map<String, String>): String {

    var concatenatedKeys = ""  // Initializing an empty string to store the concatenated keys

    // Loop through each key in the dictionary
    for (key in dictionary.keys) {
        concatenatedKeys += key  // Concatenate each key to the existing string
    }

    return concatenatedKeys
}