/**
 * Given two dictionaries, find the keys that are common to both dictionaries.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list containing the keys that are common to both dictionaries.
 */
fun findCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {

    // Get all the keys from the first dictionary
    val dict1Keys = dict1.keys

    // Get all the keys from the second dictionary
    val dict2Keys = dict2.keys

    // Find the common keys using intersection operation
    val commonKeys = dict1Keys.intersect(dict2Keys)

    // Convert the set of common keys to a list
    return commonKeys.toList()
}
/**
 * Given two dictionaries, find the keys that are common to both dictionaries.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list containing the keys that are common to both dictionaries.
 */
fun findCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {
/**
 * Given two dictionaries, find the keys that are common to both dictionaries.
 *
 * @param dict1 The first dictionary.
 * @param dict2 The second dictionary.
 * @return A list containing the keys that are common to both dictionaries.
 */
fun findCommonKeys(dict1: Map<String, Any>, dict2: Map<String, Any>): List<String> {

    // Get all the keys from the first dictionary
    val dict1Keys = dict1.keys

    // Get all the keys from the second dictionary
    val dict2Keys = dict2.keys

    // Find the common keys using intersection operation
    val commonKeys = dict1Keys.intersect(dict2Keys)

    // Convert the set of common keys to a list
    return commonKeys.toList()
}