Spring Health Interview Question

Determine if a string is a valid IP address