Pergunta de entrevista da empresa Wizeline

Parse a string and determine whether or not it was a valid IPV4 address.