IP CIDR Range Query

Problem: IP CIDR Range Query

Given a list of IPv4 CIDR ranges and a list of query IP addresses, implement a program to determine whether each query IP belongs to at least one of the given CIDR ran...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: