/**
 * Given two dictionaries [dictionary1] and [dictionary2],
 * this function finds the keys that are present in [dictionary2]
 * but not present in [dictionary1].
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of keys that are present in [dictionary2] but not in [dictionary1].
 */
fun findMissingElements(dictionary1: Map<String, Any>, dictionary2: Map<String, Any>): List<String> {

    // Find the keys that are common in both dictionaries
    val commonKeys = dictionary1.keys.intersect(dictionary2.keys)

    // Find the keys that are in 'dictionary2" but not in 'dictionary1`
    val missingKeys = dictionary2.keys - dictionary1.keys

    // Return the missing keys
    return missingKeys.toList()
}
/**
 * Given two dictionaries [dictionary1] and [dictionary2],
 * this function finds the keys that are present in [dictionary2]
 * but not present in [dictionary1].
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of keys that are present in [dictionary2] but not in [dictionary1].
 */
fun findMissingElements(dictionary1: Map<String, Any>, dictionary2: Map<String, Any>): List<String> {
/**
 * Given two dictionaries [dictionary1] and [dictionary2],
 * this function finds the keys that are present in [dictionary2]
 * but not present in [dictionary1].
 *
 * @param dictionary1 The first dictionary.
 * @param dictionary2 The second dictionary.
 * @return A list of keys that are present in [dictionary2] but not in [dictionary1].
 */
fun findMissingElements(dictionary1: Map<String, Any>, dictionary2: Map<String, Any>): List<String> {

    // Find the keys that are common in both dictionaries
    val commonKeys = dictionary1.keys.intersect(dictionary2.keys)

    // Find the keys that are in 'dictionary2" but not in 'dictionary1`
    val missingKeys = dictionary2.keys - dictionary1.keys

    // Return the missing keys
    return missingKeys.toList()
}