/**
 * Given a dictionary of photos and a set of duplicates, remove the duplicate photos from the dictionary.
 *
 * @param photos Dictionary containing photo names as keys and their corresponding details as values.
 * @param duplicates Set of duplicate photo names.
 * @return Updated dictionary without the duplicate photos.
 */
fun removeDuplicatePhotos(photos: MutableMap<String, String>, duplicates: Set<String>): MutableMap<String, String> {

    duplicates.forEach { photo -> photos.remove(photo) }
    return photos
}
/**
 * Given a dictionary of photos and a set of duplicates, remove the duplicate photos from the dictionary.
 *
 * @param photos Dictionary containing photo names as keys and their corresponding details as values.
 * @param duplicates Set of duplicate photo names.
 * @return Updated dictionary without the duplicate photos.
 */
fun removeDuplicatePhotos(photos: MutableMap<String, String>, duplicates: Set<String>): MutableMap<String, String> {
/**
 * Given a dictionary of photos and a set of duplicates, remove the duplicate photos from the dictionary.
 *
 * @param photos Dictionary containing photo names as keys and their corresponding details as values.
 * @param duplicates Set of duplicate photo names.
 * @return Updated dictionary without the duplicate photos.
 */
fun removeDuplicatePhotos(photos: MutableMap<String, String>, duplicates: Set<String>): MutableMap<String, String> {

    duplicates.forEach { photo -> photos.remove(photo) }
    return photos
}