Yotpo Interview Question

Given a string, return true if the string can be a valid IP address by adding 'points' to the string. You can find the answer on leetCode.