0093. Restore IP Addresses
Description
**Input:** s = "25525511135"
**Output:** ["255.255.11.135","255.255.111.35"]**Input:** s = "0000"
**Output:** ["0.0.0.0"]**Input:** s = "1111"
**Output:** ["1.1.1.1"]**Input:** s = "010010"
**Output:** ["0.10.0.10","0.100.1.0"]**Input:** s = "101023"
**Output:** ["1.0.10.23","1.0.102.3","10.1.0.23","10.10.2.3","101.0.2.3"]ac
Last updated