GoLang Solution For LeetCode Problem: Restore IP Addresses
Solving Restore IP Addresses in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
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