Meraki Interview Question

Bit manipulation and map problem