Skip to content

Instantly share code, notes, and snippets.

Cleyton Ferrari cleytonferrari

Block or report user

Report or block cleytonferrari

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View m101n-final-q07.js
You have been tasked to cleanup a photo-sharing database. The database consists of two collections, albums, and images. Every image is supposed to be in an album, but there are orphan images that appear in no album. Here are some example documents (not from the collections you will be downloading).
> db.albums.findOne()
"_id" : 67
"images" : [
You can’t perform that action at this time.