LeetCode

IP to CIDR

Click here for an explanation.