/**
 * This exercise is aimed at practicing the removal of elements from a set and creating lists with initial elements.
 *
 * Given a set of police officers and a crime scene, the task is to remove any police officer from the set who is also present at the crime scene.
 * The remaining police officers should be stored in a list.
 *
 * @param policeOfficers A set containing the names of all police officers.
 * @param crimeScene A set containing the names of police officers present at the crime scene.
 * @return A list containing the names of police officers who were not present at the crime scene.
 *
 * Example:
 * removeIntersection(setOf("John", "Mike", "Alice", "Mark"), setOf("John", "Mark"))
 * Output: ["Mike", "Alice"]
 */
fun removeIntersection(policeOfficers: Set<String>, crimeScene: Set<String>): List<String> {

    val remainingOfficers = policeOfficers - crimeScene
    return remainingOfficers.toList()
}
/**
 * This exercise is aimed at practicing the removal of elements from a set and creating lists with initial elements.
 *
 * Given a set of police officers and a crime scene, the task is to remove any police officer from the set who is also present at the crime scene.
 * The remaining police officers should be stored in a list.
 *
 * @param policeOfficers A set containing the names of all police officers.
 * @param crimeScene A set containing the names of police officers present at the crime scene.
 * @return A list containing the names of police officers who were not present at the crime scene.
 *
 * Example:
 * removeIntersection(setOf("John", "Mike", "Alice", "Mark"), setOf("John", "Mark"))
 * Output: ["Mike", "Alice"]
 */
fun removeIntersection(policeOfficers: Set<String>, crimeScene: Set<String>): List<String> {
/**
 * This exercise is aimed at practicing the removal of elements from a set and creating lists with initial elements.
 *
 * Given a set of police officers and a crime scene, the task is to remove any police officer from the set who is also present at the crime scene.
 * The remaining police officers should be stored in a list.
 *
 * @param policeOfficers A set containing the names of all police officers.
 * @param crimeScene A set containing the names of police officers present at the crime scene.
 * @return A list containing the names of police officers who were not present at the crime scene.
 *
 * Example:
 * removeIntersection(setOf("John", "Mike", "Alice", "Mark"), setOf("John", "Mark"))
 * Output: ["Mike", "Alice"]
 */
fun removeIntersection(policeOfficers: Set<String>, crimeScene: Set<String>): List<String> {

    val remainingOfficers = policeOfficers - crimeScene
    return remainingOfficers.toList()
}