CalAmp interview question

Bitmapping question