Google Interview Question

Given a string of digits, return all possible IP addresses that can be generated.