/**
 * This function takes in two lists and returns the unique elements present in both lists.
 *
 * @param list1 First input list
 * @param list2 Second input list
 * @return List of unique elements present in both input lists
 */
fun findUniqueElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val list1Set = list1.toSet()
    val list2Set = list2.toSet()

    val intersection = list1Set.subtract(list2Set) // Code to find the difference between list1Set and list2Set

    return intersection.toList()
}
/**
 * This function takes in two lists and returns the unique elements present in both lists.
 *
 * @param list1 First input list
 * @param list2 Second input list
 * @return List of unique elements present in both input lists
 */
fun findUniqueElements(list1: List<Any>, list2: List<Any>): List<Any> {
/**
 * This function takes in two lists and returns the unique elements present in both lists.
 *
 * @param list1 First input list
 * @param list2 Second input list
 * @return List of unique elements present in both input lists
 */
fun findUniqueElements(list1: List<Any>, list2: List<Any>): List<Any> {

    val list1Set = list1.toSet()
    val list2Set = list2.toSet()

    val intersection = list1Set.subtract(list2Set) // Code to find the difference between list1Set and list2Set

    return intersection.toList()
}