Morgan Stanley Interview Question

Bit manipulation Arrays 2D array