I think something like this was a FB engineering interview (several years ago), just for instagram feeds.