Amazon Interview Question

IP address with classes