Restore IP Addresses at Bloomberg
Medium55.3% acceptance
This problem has 12.5% frequency at Bloomberg.
Problem Description
A **valid IP address** consists of exactly four integers separated by single dots. Each integer is between `0` and `255` (**inclusive**) and cannot have leading zeros. * For example, `"0.1.2.201"` and `"192.168.1.1"` are **valid** IP addresses, but `"0.011.255.245"`, `"192.168.1.312"` and `"192.1...
Read full problem and hintsTopics
Also asked at 17 companies
More Bloomberg Questions
Longest Substring Without Repeating CharactersMediumValid ParenthesesEasyLongest Palindromic SubstringMediumRoman to IntegerEasyLongest Common PrefixEasy
View all Bloomberg questions