Min Li's Note
KVM,QEMU, X86 virtualization
Pages
Home
Collection
About
Friday, December 12, 2014
Restore IP Addresses
Problem
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)
Idea
Solution
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment