WD Interview Question

2D array & Bit manipulation