Exabytes interview question

Ip address calculation and stuff