Solving Restore IP Addresses in Javascript. 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.


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

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

Originally posted at: