Meraki interview question

Bit manipulation and map problem