Microsoft interview question

Operations on 2-dimensional bit-array