Uber | Phonic round | Senior level
Anonymous User
746

how to inspect an IP address and mask number, then decide if IP address is on that local network?. Could someone please write the code the java?

192.160.0.0/8
192.161.16.1

Expected Output
True
10.10.8.1/16
10.22.12.16

Expected Output
False
Comments (1)