Isn't that just a bit wise AND?
It's actually a pretty good interview question if your going to ask a whiteboard question. It has lots of answers depending on requirements. You can get into parallelizing it for speed. It's more of a practical problem than most and you can implement it basically any language.
(just examples of what i might consider when setting up a meeting manually)