Problem 751 · Medium

IP to CIDR

Cover a run of IPv4 addresses with the fewest aligned power-of-two blocks, each written as a CIDR prefix.

Open the interactive visualisation