Desktop only
Coding Challenges are optimized for Desktop
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
def cidr_to_range(cidr: str) -> tuple[str, str]:
"""'192.168.1.0/24' -> ('192.168.1.0', '192.168.1.255'). Returns the network
and broadcast addresses of the block."""def range_to_cidr_blocks(start: str, end: str) -> list[str]:
"""Decompose [start, end] into the smallest set of aligned CIDR blocks."""