/**
 * This exercise focuses on understanding the complement operator and removing elements from a set.
 * Given two sets, set1 and set2, the task is to remove the elements present in set2 from set1.
 *
 * @param set1 The original set from which elements need to be removed.
 * @param set2 The set containing elements to be removed from set1.
 * @return The modified set1 with elements removed.
 *
 * Example:
 * set1 = setOf(1, 2, 3, 4, 5)
 * set2 = setOf(3, 4, 5)
 * removeElements(set1, set2) -> setOf(1, 2)
 */
fun removeElements(set1: Set<Int>, set2: Set<Int>): Set<Int> {

    // Using the subtract operator (-) to remove elements from set1
    val set1Complement = set1 - set2
    return set1Complement
}
/**
 * This exercise focuses on understanding the complement operator and removing elements from a set.
 * Given two sets, set1 and set2, the task is to remove the elements present in set2 from set1.
 *
 * @param set1 The original set from which elements need to be removed.
 * @param set2 The set containing elements to be removed from set1.
 * @return The modified set1 with elements removed.
 *
 * Example:
 * set1 = setOf(1, 2, 3, 4, 5)
 * set2 = setOf(3, 4, 5)
 * removeElements(set1, set2) -> setOf(1, 2)
 */
fun removeElements(set1: Set<Int>, set2: Set<Int>): Set<Int> {
/**
 * This exercise focuses on understanding the complement operator and removing elements from a set.
 * Given two sets, set1 and set2, the task is to remove the elements present in set2 from set1.
 *
 * @param set1 The original set from which elements need to be removed.
 * @param set2 The set containing elements to be removed from set1.
 * @return The modified set1 with elements removed.
 *
 * Example:
 * set1 = setOf(1, 2, 3, 4, 5)
 * set2 = setOf(3, 4, 5)
 * removeElements(set1, set2) -> setOf(1, 2)
 */
fun removeElements(set1: Set<Int>, set2: Set<Int>): Set<Int> {

    // Using the subtract operator (-) to remove elements from set1
    val set1Complement = set1 - set2
    return set1Complement
}