IP range to CIDR blocks
Given a starting IPv4 address and a count n, return the shortest list of CIDR blocks that covers exactly the n consecutive addresses starting there, and no address outside that range.
No answer yet. Write the first one; the best answer gets endorsed.
