/**
 * This function takes two lists of photos and returns a set of unique photos that both photographers have captured.
 *
 * @param photos1 A list of photos captured by the first photographer.
 * @param photos2 A list of photos captured by the second photographer.
 * @return A set of unique photos captured by both photographers.
 */
fun createUniqueSet(photos1: List<String>, photos2: List<String>): Set<String> {

    val uniquePhotos = mutableSetOf<String>()

    // Iterate through each photo in the first photographer's list
    for (photo in photos1) {
        // Check if the photo is also in the second photographer's list
        if (photo in photos2) {
            // Add the photo to the uniquePhotos set
            uniquePhotos.add(photo)
        }
    }

    return uniquePhotos
}
/**
 * This function takes two lists of photos and returns a set of unique photos that both photographers have captured.
 *
 * @param photos1 A list of photos captured by the first photographer.
 * @param photos2 A list of photos captured by the second photographer.
 * @return A set of unique photos captured by both photographers.
 */
fun createUniqueSet(photos1: List<String>, photos2: List<String>): Set<String> {
/**
 * This function takes two lists of photos and returns a set of unique photos that both photographers have captured.
 *
 * @param photos1 A list of photos captured by the first photographer.
 * @param photos2 A list of photos captured by the second photographer.
 * @return A set of unique photos captured by both photographers.
 */
fun createUniqueSet(photos1: List<String>, photos2: List<String>): Set<String> {

    val uniquePhotos = mutableSetOf<String>()

    // Iterate through each photo in the first photographer's list
    for (photo in photos1) {
        // Check if the photo is also in the second photographer's list
        if (photo in photos2) {
            // Add the photo to the uniquePhotos set
            uniquePhotos.add(photo)
        }
    }

    return uniquePhotos
}