mongodb/cookbook — pull request #5 by dcrosta (2011-12-17 15:21:02+00:00)
Title: Pattern: Track maximum value in array

Updated with feedback from @tycoish