Pregunta de entrevista de Nutanix

Generate Valid IP Addresses from String: Examples: Input: "255678166" Output: [“25.56.78.166”, “255.6.78.166”, "255.67.8.166", "255.67.81.66"] Explanation: These are the only valid possible IP addresses. Input: "25505011535" Output: [] Explanation: We cannot generate a valid IP address with this string.