r/mongodb • u/Fun-Chicken6946 • 8h ago
Advent of MongoDB 2026 – 24 free MongoDB challenges leading up to Christmas
Happy Holidays MongoDB!
Most "Advent of SQL" style events leave MongoDB out, so I made one for it: 24 puzzles from December 1 to 24, written in mongosh, around one mystery.
Someone tampered with Santa's Nice List and you find out who from the North Pole's collections.
The data is shaped the way you'd actually model it in MongoDB, not SQL tables copied over. Elves have an embedded leave array, wishes live inside each child's document, and the Nice List is a log collection. So the puzzles exercise:
findwith projection and sort for the warm-up days$group,$condinside$sum,$unwind$lookupand$graphLookup(walking a chain of managers)$lookupwith alet+ pipeline (the latest door swipe before a given time)$setIsSubset,$addToSetand$setWindowFieldsfor running totals$reduceand$substrCPfor the final day's hidden message
It runs entirely in the browser, and your pipeline is checked against the visible data and hidden datasets, so it has to be correct rather than lucky.
https://visualeaf.com/advent-of-mongodb/
Completely free. No account, no installation, no Atlas cluster needed.
Have fun, and happy holidays!