Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135"
,
return ["255.255.11.135", "255.255.111.35"]
.
(Order does not matter)
LeetCode - Restore IP Addresses,布布扣,bubuko.com
LeetCode - Restore IP Addresses
原文地址:http://blog.csdn.net/nerv3x3/article/details/31068775