coding-exercises/interviews/match-ip-addresses/README.md

10 lines
251 B
Markdown
Raw Permalink Normal View History

2022-09-06 17:13:44 +00:00
# IP Blacklist
Handle a IP blacklist structure in which you receive IP Addresses in the form of:
1. Single IP: `10.0.0.1`
2. IP Range: `11.0.0.1-11.0.0.255`
3. IP CIDR: `12.0.0.0/16`
And then you can check if a given IP matches any of those rules.