Solving Restore IP Addresses in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.

Problem Description

Given a string containing only digits, restore it by returning all possible valid IP address combinations.

Example:

Input: "25525511135"
Output: ["255.255.11.135", "255.255.111.35"]

See the full details of the problem Restore IP Addresses at LeetCode

Originally posted at: @github.com/halfrost/LeetCode-Go