/**
 * Find and return the common elements between two sets using list comprehension.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the common elements between set1 and set2.
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    return set1.filter { it in set2 }.toSet()
}
/**
 * Find and return the common elements between two sets using list comprehension.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the common elements between set1 and set2.
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * Find and return the common elements between two sets using list comprehension.
 *
 * @param set1 The first set.
 * @param set2 The second set.
 * @return A set containing the common elements between set1 and set2.
 */
fun getCommonElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    return set1.filter { it in set2 }.toSet()
}